diff --git a/.gen/com/uber/cadence/entities/AccessDeniedError.java b/.gen/com/uber/cadence/entities/AccessDeniedError.java new file mode 100644 index 000000000..db59d917a --- /dev/null +++ b/.gen/com/uber/cadence/entities/AccessDeniedError.java @@ -0,0 +1,46 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Getter; +import lombok.Setter; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Getter +@Setter +@Accessors(chain = true) +public class AccessDeniedError extends BaseError { + + public AccessDeniedError() { + super(); + } + + public AccessDeniedError(String message, Throwable cause) { + super(message, cause); + } + + public AccessDeniedError(Throwable cause) { + super(cause); + } +} diff --git a/.gen/com/uber/cadence/entities/ActivityLocalDispatchInfo.java b/.gen/com/uber/cadence/entities/ActivityLocalDispatchInfo.java new file mode 100644 index 000000000..c6d822de1 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityLocalDispatchInfo.java @@ -0,0 +1,37 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityLocalDispatchInfo { + private String activityId; + private long scheduledTimestamp; + private long startedTimestamp; + private long scheduledTimestampOfThisAttempt; + private byte[] taskToken; +} diff --git a/.gen/com/uber/cadence/entities/ActivityTaskCancelRequestedEventAttributes.java b/.gen/com/uber/cadence/entities/ActivityTaskCancelRequestedEventAttributes.java new file mode 100644 index 000000000..2c275c607 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityTaskCancelRequestedEventAttributes.java @@ -0,0 +1,34 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityTaskCancelRequestedEventAttributes { + private String activityId; + private long decisionTaskCompletedEventId; +} diff --git a/.gen/com/uber/cadence/entities/ActivityTaskCanceledEventAttributes.java b/.gen/com/uber/cadence/entities/ActivityTaskCanceledEventAttributes.java new file mode 100644 index 000000000..c8f2b4563 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityTaskCanceledEventAttributes.java @@ -0,0 +1,37 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityTaskCanceledEventAttributes { + private byte[] details; + private long latestCancelRequestedEventId; + private long scheduledEventId; + private long startedEventId; + private String identity; +} diff --git a/.gen/com/uber/cadence/entities/ActivityTaskCompletedEventAttributes.java b/.gen/com/uber/cadence/entities/ActivityTaskCompletedEventAttributes.java new file mode 100644 index 000000000..e066b8bf9 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityTaskCompletedEventAttributes.java @@ -0,0 +1,36 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityTaskCompletedEventAttributes { + private byte[] result; + private long scheduledEventId; + private long startedEventId; + private String identity; +} diff --git a/.gen/com/uber/cadence/entities/ActivityTaskFailedEventAttributes.java b/.gen/com/uber/cadence/entities/ActivityTaskFailedEventAttributes.java new file mode 100644 index 000000000..c2aefb07e --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityTaskFailedEventAttributes.java @@ -0,0 +1,37 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityTaskFailedEventAttributes { + private String reason; + private byte[] details; + private long scheduledEventId; + private long startedEventId; + private String identity; +} diff --git a/.gen/com/uber/cadence/entities/ActivityTaskScheduledEventAttributes.java b/.gen/com/uber/cadence/entities/ActivityTaskScheduledEventAttributes.java new file mode 100644 index 000000000..70dc7e62b --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityTaskScheduledEventAttributes.java @@ -0,0 +1,44 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityTaskScheduledEventAttributes { + private String activityId; + private ActivityType activityType; + private String domain; + private TaskList taskList; + private byte[] input; + private int scheduleToCloseTimeoutSeconds; + private int scheduleToStartTimeoutSeconds; + private int startToCloseTimeoutSeconds; + private int heartbeatTimeoutSeconds; + private long decisionTaskCompletedEventId; + private RetryPolicy retryPolicy; + private Header header; +} diff --git a/.gen/com/uber/cadence/entities/ActivityTaskStartedEventAttributes.java b/.gen/com/uber/cadence/entities/ActivityTaskStartedEventAttributes.java new file mode 100644 index 000000000..f48d172b6 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityTaskStartedEventAttributes.java @@ -0,0 +1,38 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityTaskStartedEventAttributes { + private long scheduledEventId; + private String identity; + private String requestId; + private int attempt; + private String lastFailureReason; + private byte[] lastFailureDetails; +} diff --git a/.gen/com/uber/cadence/entities/ActivityTaskTimedOutEventAttributes.java b/.gen/com/uber/cadence/entities/ActivityTaskTimedOutEventAttributes.java new file mode 100644 index 000000000..4469ddc46 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityTaskTimedOutEventAttributes.java @@ -0,0 +1,38 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityTaskTimedOutEventAttributes { + private byte[] details; + private long scheduledEventId; + private long startedEventId; + private TimeoutType timeoutType; + private String lastFailureReason; + private byte[] lastFailureDetails; +} diff --git a/.gen/com/uber/cadence/entities/ActivityType.java b/.gen/com/uber/cadence/entities/ActivityType.java new file mode 100644 index 000000000..244d059ee --- /dev/null +++ b/.gen/com/uber/cadence/entities/ActivityType.java @@ -0,0 +1,33 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ActivityType { + private String name; +} diff --git a/.gen/com/uber/cadence/entities/Any.java b/.gen/com/uber/cadence/entities/Any.java new file mode 100644 index 000000000..f5899ccdf --- /dev/null +++ b/.gen/com/uber/cadence/entities/Any.java @@ -0,0 +1,34 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class Any { + private String ValueType; + private byte[] Value; +} diff --git a/.gen/com/uber/cadence/entities/ApplyParentClosePolicyAttributes.java b/.gen/com/uber/cadence/entities/ApplyParentClosePolicyAttributes.java new file mode 100644 index 000000000..20dc1afbd --- /dev/null +++ b/.gen/com/uber/cadence/entities/ApplyParentClosePolicyAttributes.java @@ -0,0 +1,36 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ApplyParentClosePolicyAttributes { + private String childDomainID; + private String childWorkflowID; + private String childRunID; + private ParentClosePolicy parentClosePolicy; +} diff --git a/.gen/com/uber/cadence/entities/ApplyParentClosePolicyRequest.java b/.gen/com/uber/cadence/entities/ApplyParentClosePolicyRequest.java new file mode 100644 index 000000000..e0e579001 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ApplyParentClosePolicyRequest.java @@ -0,0 +1,34 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ApplyParentClosePolicyRequest { + private ApplyParentClosePolicyAttributes child; + private ApplyParentClosePolicyStatus status; +} diff --git a/.gen/com/uber/cadence/entities/ApplyParentClosePolicyResult.java b/.gen/com/uber/cadence/entities/ApplyParentClosePolicyResult.java new file mode 100644 index 000000000..57b7ed58f --- /dev/null +++ b/.gen/com/uber/cadence/entities/ApplyParentClosePolicyResult.java @@ -0,0 +1,34 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ApplyParentClosePolicyResult { + private ApplyParentClosePolicyAttributes child; + private CrossClusterTaskFailedCause failedCause; +} diff --git a/.gen/com/uber/cadence/entities/ApplyParentClosePolicyStatus.java b/.gen/com/uber/cadence/entities/ApplyParentClosePolicyStatus.java new file mode 100644 index 000000000..977e66338 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ApplyParentClosePolicyStatus.java @@ -0,0 +1,34 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class ApplyParentClosePolicyStatus { + private boolean completed; + private CrossClusterTaskFailedCause failedCause; +} diff --git a/.gen/com/uber/cadence/entities/ArchivalStatus.java b/.gen/com/uber/cadence/entities/ArchivalStatus.java new file mode 100644 index 000000000..8a4e0e787 --- /dev/null +++ b/.gen/com/uber/cadence/entities/ArchivalStatus.java @@ -0,0 +1,28 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +public enum ArchivalStatus { + DISABLED, + ENABLED, +} diff --git a/.gen/com/uber/cadence/entities/AsyncWorkflowConfiguration.java b/.gen/com/uber/cadence/entities/AsyncWorkflowConfiguration.java new file mode 100644 index 000000000..85b76aedd --- /dev/null +++ b/.gen/com/uber/cadence/entities/AsyncWorkflowConfiguration.java @@ -0,0 +1,36 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator. + * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator + */ +@Data +@Accessors(chain = true) +public class AsyncWorkflowConfiguration { + private boolean enabled; + private String predefinedQueueName; + private String queueType; + private DataBlob queueConfig; +} diff --git a/.gen/com/uber/cadence/entities/BadBinaries.java b/.gen/com/uber/cadence/entities/BadBinaries.java new file mode 100644 index 000000000..b22bcbcba --- /dev/null +++ b/.gen/com/uber/cadence/entities/BadBinaries.java @@ -0,0 +1,33 @@ +/** + * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + *
Modifications copyright (C) 2017 Uber Technologies, Inc. + * + *
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file + * except in compliance with the License. A copy of the License is located at + * + *
http://aws.amazon.com/apache2.0 + * + *
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.uber.cadence.entities; + +import java.util.*; +import lombok.Data; +import lombok.experimental.Accessors; + +/** + * DO NOT EDIT THIS FILE. + * + *
This file is generated by cadence-idl custom generator for simple java entity + * + *
If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class BadBinaries {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class BadBinaryInfo {
+ private String reason;
+ private String operator;
+ private long createdTimeNano;
+}
diff --git a/.gen/com/uber/cadence/entities/BadRequestError.java b/.gen/com/uber/cadence/entities/BadRequestError.java
new file mode 100644
index 000000000..54bac97e7
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/BadRequestError.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class BadRequestError extends BaseError {
+
+ public BadRequestError() {
+ super();
+ }
+
+ public BadRequestError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public BadRequestError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/BaseError.java b/.gen/com/uber/cadence/entities/BaseError.java
new file mode 100644
index 000000000..8a08aece6
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/BaseError.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public class BaseError extends RuntimeException {
+ public BaseError() {
+ super();
+ }
+
+ public BaseError(String message) {
+ super(message);
+ }
+
+ public BaseError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public BaseError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/CancelExternalWorkflowExecutionFailedCause.java b/.gen/com/uber/cadence/entities/CancelExternalWorkflowExecutionFailedCause.java
new file mode 100644
index 000000000..5f134c88e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CancelExternalWorkflowExecutionFailedCause.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum CancelExternalWorkflowExecutionFailedCause {
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION,
+ WORKFLOW_ALREADY_COMPLETED,
+}
diff --git a/.gen/com/uber/cadence/entities/CancelTimerDecisionAttributes.java b/.gen/com/uber/cadence/entities/CancelTimerDecisionAttributes.java
new file mode 100644
index 000000000..dd01a7278
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CancelTimerDecisionAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CancelTimerDecisionAttributes {
+ private String timerId;
+}
diff --git a/.gen/com/uber/cadence/entities/CancelTimerFailedEventAttributes.java b/.gen/com/uber/cadence/entities/CancelTimerFailedEventAttributes.java
new file mode 100644
index 000000000..f8f88f3e9
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CancelTimerFailedEventAttributes.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CancelTimerFailedEventAttributes {
+ private String timerId;
+ private String cause;
+ private long decisionTaskCompletedEventId;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/CancelWorkflowExecutionDecisionAttributes.java b/.gen/com/uber/cadence/entities/CancelWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..482ab4b06
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CancelWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CancelWorkflowExecutionDecisionAttributes {
+ private byte[] details;
+}
diff --git a/.gen/com/uber/cadence/entities/CancellationAlreadyRequestedError.java b/.gen/com/uber/cadence/entities/CancellationAlreadyRequestedError.java
new file mode 100644
index 000000000..d94701773
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CancellationAlreadyRequestedError.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class CancellationAlreadyRequestedError extends BaseError {
+
+ public CancellationAlreadyRequestedError() {
+ super();
+ }
+
+ public CancellationAlreadyRequestedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public CancellationAlreadyRequestedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/ChildWorkflowExecutionCanceledEventAttributes.java b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionCanceledEventAttributes.java
new file mode 100644
index 000000000..d5d8d06d6
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionCanceledEventAttributes.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionCanceledEventAttributes {
+ private byte[] details;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/ChildWorkflowExecutionCompletedEventAttributes.java b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionCompletedEventAttributes.java
new file mode 100644
index 000000000..3446a2fb7
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionCompletedEventAttributes.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionCompletedEventAttributes {
+ private byte[] result;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/ChildWorkflowExecutionFailedCause.java b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionFailedCause.java
new file mode 100644
index 000000000..ba6a3a282
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionFailedCause.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum ChildWorkflowExecutionFailedCause {
+ WORKFLOW_ALREADY_RUNNING,
+}
diff --git a/.gen/com/uber/cadence/entities/ChildWorkflowExecutionFailedEventAttributes.java b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..008287a91
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionFailedEventAttributes {
+ private String reason;
+ private byte[] details;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/ChildWorkflowExecutionStartedEventAttributes.java b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionStartedEventAttributes.java
new file mode 100644
index 000000000..daba74b42
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionStartedEventAttributes.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionStartedEventAttributes {
+ private String domain;
+ private long initiatedEventId;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private Header header;
+}
diff --git a/.gen/com/uber/cadence/entities/ChildWorkflowExecutionTerminatedEventAttributes.java b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionTerminatedEventAttributes.java
new file mode 100644
index 000000000..09be9bc65
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionTerminatedEventAttributes.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionTerminatedEventAttributes {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/ChildWorkflowExecutionTimedOutEventAttributes.java b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionTimedOutEventAttributes.java
new file mode 100644
index 000000000..adec27619
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ChildWorkflowExecutionTimedOutEventAttributes.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionTimedOutEventAttributes {
+ private TimeoutType timeoutType;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/ClientVersionNotSupportedError.java b/.gen/com/uber/cadence/entities/ClientVersionNotSupportedError.java
new file mode 100644
index 000000000..9570f4dc0
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ClientVersionNotSupportedError.java
@@ -0,0 +1,51 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class ClientVersionNotSupportedError extends BaseError {
+ private String featureVersion;
+ private String clientImpl;
+ private String supportedVersions;
+
+ public ClientVersionNotSupportedError() {
+ super();
+ }
+
+ public ClientVersionNotSupportedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public ClientVersionNotSupportedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/CloseShardRequest.java b/.gen/com/uber/cadence/entities/CloseShardRequest.java
new file mode 100644
index 000000000..96d20f4ae
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CloseShardRequest.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CloseShardRequest {
+ private int shardID;
+}
diff --git a/.gen/com/uber/cadence/entities/ClusterInfo.java b/.gen/com/uber/cadence/entities/ClusterInfo.java
new file mode 100644
index 000000000..cd4c98930
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ClusterInfo.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ClusterInfo {
+ private SupportedClientVersions supportedClientVersions;
+}
diff --git a/.gen/com/uber/cadence/entities/ClusterReplicationConfiguration.java b/.gen/com/uber/cadence/entities/ClusterReplicationConfiguration.java
new file mode 100644
index 000000000..7f43f8274
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ClusterReplicationConfiguration.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ClusterReplicationConfiguration {
+ private String clusterName;
+}
diff --git a/.gen/com/uber/cadence/entities/CompleteWorkflowExecutionDecisionAttributes.java b/.gen/com/uber/cadence/entities/CompleteWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..5ab3e916f
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CompleteWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CompleteWorkflowExecutionDecisionAttributes {
+ private byte[] result;
+}
diff --git a/.gen/com/uber/cadence/entities/ContinueAsNewInitiator.java b/.gen/com/uber/cadence/entities/ContinueAsNewInitiator.java
new file mode 100644
index 000000000..4b8977e77
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ContinueAsNewInitiator.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum ContinueAsNewInitiator {
+ Decider,
+ RetryPolicy,
+ CronSchedule,
+}
diff --git a/.gen/com/uber/cadence/entities/ContinueAsNewWorkflowExecutionDecisionAttributes.java b/.gen/com/uber/cadence/entities/ContinueAsNewWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..8c51d5ce6
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ContinueAsNewWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ContinueAsNewWorkflowExecutionDecisionAttributes {
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private int backoffStartIntervalInSeconds;
+ private RetryPolicy retryPolicy;
+ private ContinueAsNewInitiator initiator;
+ private String failureReason;
+ private byte[] failureDetails;
+ private byte[] lastCompletionResult;
+ private String cronSchedule;
+ private Header header;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private int jitterStartSeconds;
+}
diff --git a/.gen/com/uber/cadence/entities/CountWorkflowExecutionsRequest.java b/.gen/com/uber/cadence/entities/CountWorkflowExecutionsRequest.java
new file mode 100644
index 000000000..d5f15eac5
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CountWorkflowExecutionsRequest.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CountWorkflowExecutionsRequest {
+ private String domain;
+ private String query;
+}
diff --git a/.gen/com/uber/cadence/entities/CountWorkflowExecutionsResponse.java b/.gen/com/uber/cadence/entities/CountWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..e25a19217
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CountWorkflowExecutionsResponse.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CountWorkflowExecutionsResponse {
+ private long count;
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterApplyParentClosePolicyRequestAttributes.java b/.gen/com/uber/cadence/entities/CrossClusterApplyParentClosePolicyRequestAttributes.java
new file mode 100644
index 000000000..1f333d309
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterApplyParentClosePolicyRequestAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterApplyParentClosePolicyRequestAttributes {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterApplyParentClosePolicyResponseAttributes {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterCancelExecutionRequestAttributes {
+ private String targetDomainID;
+ private String targetWorkflowID;
+ private String targetRunID;
+ private String requestID;
+ private long initiatedEventID;
+ private boolean childWorkflowOnly;
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterCancelExecutionResponseAttributes.java b/.gen/com/uber/cadence/entities/CrossClusterCancelExecutionResponseAttributes.java
new file mode 100644
index 000000000..ef5a02cdf
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterCancelExecutionResponseAttributes.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterCancelExecutionResponseAttributes {}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.java b/.gen/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.java
new file mode 100644
index 000000000..686731c60
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes {
+ private String targetDomainID;
+ private String targetWorkflowID;
+ private String targetRunID;
+ private long initiatedEventID;
+ private HistoryEvent completionEvent;
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes.java b/.gen/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes.java
new file mode 100644
index 000000000..f74f695ee
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes {}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterSignalExecutionRequestAttributes.java b/.gen/com/uber/cadence/entities/CrossClusterSignalExecutionRequestAttributes.java
new file mode 100644
index 000000000..199097b12
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterSignalExecutionRequestAttributes.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterSignalExecutionRequestAttributes {
+ private String targetDomainID;
+ private String targetWorkflowID;
+ private String targetRunID;
+ private String requestID;
+ private long initiatedEventID;
+ private boolean childWorkflowOnly;
+ private String signalName;
+ private byte[] signalInput;
+ private byte[] control;
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterSignalExecutionResponseAttributes.java b/.gen/com/uber/cadence/entities/CrossClusterSignalExecutionResponseAttributes.java
new file mode 100644
index 000000000..ddc56631e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterSignalExecutionResponseAttributes.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterSignalExecutionResponseAttributes {}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterStartChildExecutionRequestAttributes.java b/.gen/com/uber/cadence/entities/CrossClusterStartChildExecutionRequestAttributes.java
new file mode 100644
index 000000000..5de9b7f9a
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterStartChildExecutionRequestAttributes.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterStartChildExecutionRequestAttributes {
+ private String targetDomainID;
+ private String requestID;
+ private long initiatedEventID;
+ private StartChildWorkflowExecutionInitiatedEventAttributes initiatedEventAttributes;
+ private String targetRunID;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterStartChildExecutionResponseAttributes {
+ private String runID;
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterTaskFailedCause.java b/.gen/com/uber/cadence/entities/CrossClusterTaskFailedCause.java
new file mode 100644
index 000000000..b5cdf967e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterTaskFailedCause.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum CrossClusterTaskFailedCause {
+ DOMAIN_NOT_ACTIVE,
+ DOMAIN_NOT_EXISTS,
+ WORKFLOW_ALREADY_RUNNING,
+ WORKFLOW_NOT_EXISTS,
+ WORKFLOW_ALREADY_COMPLETED,
+ UNCATEGORIZED,
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterTaskInfo.java b/.gen/com/uber/cadence/entities/CrossClusterTaskInfo.java
new file mode 100644
index 000000000..37319cae4
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterTaskInfo.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterTaskInfo {
+ private String domainID;
+ private String workflowID;
+ private String runID;
+ private CrossClusterTaskType taskType;
+ private int taskState;
+ private long taskID;
+ private long visibilityTimestamp;
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterTaskRequest.java b/.gen/com/uber/cadence/entities/CrossClusterTaskRequest.java
new file mode 100644
index 000000000..bf6a2c3ad
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterTaskRequest.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterTaskRequest {
+ private CrossClusterTaskInfo taskInfo;
+ private CrossClusterStartChildExecutionRequestAttributes startChildExecutionAttributes;
+ private CrossClusterCancelExecutionRequestAttributes cancelExecutionAttributes;
+ private CrossClusterSignalExecutionRequestAttributes signalExecutionAttributes;
+ private CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes
+ recordChildWorkflowExecutionCompleteAttributes;
+ private CrossClusterApplyParentClosePolicyRequestAttributes applyParentClosePolicyAttributes;
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterTaskResponse.java b/.gen/com/uber/cadence/entities/CrossClusterTaskResponse.java
new file mode 100644
index 000000000..a4f909864
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterTaskResponse.java
@@ -0,0 +1,42 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class CrossClusterTaskResponse {
+ private long taskID;
+ private CrossClusterTaskType taskType;
+ private int taskState;
+ private CrossClusterTaskFailedCause failedCause;
+ private CrossClusterStartChildExecutionResponseAttributes startChildExecutionAttributes;
+ private CrossClusterCancelExecutionResponseAttributes cancelExecutionAttributes;
+ private CrossClusterSignalExecutionResponseAttributes signalExecutionAttributes;
+ private CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes
+ recordChildWorkflowExecutionCompleteAttributes;
+ private CrossClusterApplyParentClosePolicyResponseAttributes applyParentClosePolicyAttributes;
+}
diff --git a/.gen/com/uber/cadence/entities/CrossClusterTaskType.java b/.gen/com/uber/cadence/entities/CrossClusterTaskType.java
new file mode 100644
index 000000000..40c9155ba
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CrossClusterTaskType.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum CrossClusterTaskType {
+ StartChildExecution,
+ CancelExecution,
+ SignalExecution,
+ RecordChildWorkflowExecutionComplete,
+ ApplyParentClosePolicy,
+}
diff --git a/.gen/com/uber/cadence/entities/CurrentBranchChangedError.java b/.gen/com/uber/cadence/entities/CurrentBranchChangedError.java
new file mode 100644
index 000000000..951623f3e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/CurrentBranchChangedError.java
@@ -0,0 +1,49 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class CurrentBranchChangedError extends BaseError {
+ private byte[] currentBranchToken;
+
+ public CurrentBranchChangedError() {
+ super();
+ }
+
+ public CurrentBranchChangedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public CurrentBranchChangedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/DataBlob.java b/.gen/com/uber/cadence/entities/DataBlob.java
new file mode 100644
index 000000000..9a5ccd935
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DataBlob.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DataBlob {
+ private EncodingType EncodingType;
+ private byte[] Data;
+}
diff --git a/.gen/com/uber/cadence/entities/Decision.java b/.gen/com/uber/cadence/entities/Decision.java
new file mode 100644
index 000000000..917010b58
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/Decision.java
@@ -0,0 +1,51 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class Decision {
+ private DecisionType decisionType;
+ private ScheduleActivityTaskDecisionAttributes scheduleActivityTaskDecisionAttributes;
+ private StartTimerDecisionAttributes startTimerDecisionAttributes;
+ private CompleteWorkflowExecutionDecisionAttributes completeWorkflowExecutionDecisionAttributes;
+ private FailWorkflowExecutionDecisionAttributes failWorkflowExecutionDecisionAttributes;
+ private RequestCancelActivityTaskDecisionAttributes requestCancelActivityTaskDecisionAttributes;
+ private CancelTimerDecisionAttributes cancelTimerDecisionAttributes;
+ private CancelWorkflowExecutionDecisionAttributes cancelWorkflowExecutionDecisionAttributes;
+ private RequestCancelExternalWorkflowExecutionDecisionAttributes
+ requestCancelExternalWorkflowExecutionDecisionAttributes;
+ private RecordMarkerDecisionAttributes recordMarkerDecisionAttributes;
+ private ContinueAsNewWorkflowExecutionDecisionAttributes
+ continueAsNewWorkflowExecutionDecisionAttributes;
+ private StartChildWorkflowExecutionDecisionAttributes
+ startChildWorkflowExecutionDecisionAttributes;
+ private SignalExternalWorkflowExecutionDecisionAttributes
+ signalExternalWorkflowExecutionDecisionAttributes;
+ private UpsertWorkflowSearchAttributesDecisionAttributes
+ upsertWorkflowSearchAttributesDecisionAttributes;
+}
diff --git a/.gen/com/uber/cadence/entities/DecisionTaskCompletedEventAttributes.java b/.gen/com/uber/cadence/entities/DecisionTaskCompletedEventAttributes.java
new file mode 100644
index 000000000..fae3e6441
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DecisionTaskCompletedEventAttributes.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DecisionTaskCompletedEventAttributes {
+ private byte[] executionContext;
+ private long scheduledEventId;
+ private long startedEventId;
+ private String identity;
+ private String binaryChecksum;
+}
diff --git a/.gen/com/uber/cadence/entities/DecisionTaskFailedCause.java b/.gen/com/uber/cadence/entities/DecisionTaskFailedCause.java
new file mode 100644
index 000000000..8558534dd
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DecisionTaskFailedCause.java
@@ -0,0 +1,49 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum DecisionTaskFailedCause {
+ UNHANDLED_DECISION,
+ BAD_SCHEDULE_ACTIVITY_ATTRIBUTES,
+ BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES,
+ BAD_START_TIMER_ATTRIBUTES,
+ BAD_CANCEL_TIMER_ATTRIBUTES,
+ BAD_RECORD_MARKER_ATTRIBUTES,
+ BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_CONTINUE_AS_NEW_ATTRIBUTES,
+ START_TIMER_DUPLICATE_ID,
+ RESET_STICKY_TASKLIST,
+ WORKFLOW_WORKER_UNHANDLED_FAILURE,
+ BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_START_CHILD_EXECUTION_ATTRIBUTES,
+ FORCE_CLOSE_DECISION,
+ FAILOVER_CLOSE_DECISION,
+ BAD_SIGNAL_INPUT_SIZE,
+ RESET_WORKFLOW,
+ BAD_BINARY,
+ SCHEDULE_ACTIVITY_DUPLICATE_ID,
+ BAD_SEARCH_ATTRIBUTES,
+}
diff --git a/.gen/com/uber/cadence/entities/DecisionTaskFailedEventAttributes.java b/.gen/com/uber/cadence/entities/DecisionTaskFailedEventAttributes.java
new file mode 100644
index 000000000..df540b681
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DecisionTaskFailedEventAttributes.java
@@ -0,0 +1,43 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DecisionTaskFailedEventAttributes {
+ private long scheduledEventId;
+ private long startedEventId;
+ private DecisionTaskFailedCause cause;
+ private byte[] details;
+ private String identity;
+ private String reason;
+ private String baseRunId;
+ private String newRunId;
+ private long forkEventVersion;
+ private String binaryChecksum;
+ private String requestId;
+}
diff --git a/.gen/com/uber/cadence/entities/DecisionTaskScheduledEventAttributes.java b/.gen/com/uber/cadence/entities/DecisionTaskScheduledEventAttributes.java
new file mode 100644
index 000000000..795566967
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DecisionTaskScheduledEventAttributes.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DecisionTaskScheduledEventAttributes {
+ private TaskList taskList;
+ private int startToCloseTimeoutSeconds;
+ private long attempt;
+}
diff --git a/.gen/com/uber/cadence/entities/DecisionTaskStartedEventAttributes.java b/.gen/com/uber/cadence/entities/DecisionTaskStartedEventAttributes.java
new file mode 100644
index 000000000..3fa233f0d
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DecisionTaskStartedEventAttributes.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DecisionTaskStartedEventAttributes {
+ private long scheduledEventId;
+ private String identity;
+ private String requestId;
+}
diff --git a/.gen/com/uber/cadence/entities/DecisionTaskTimedOutCause.java b/.gen/com/uber/cadence/entities/DecisionTaskTimedOutCause.java
new file mode 100644
index 000000000..91303e7a1
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DecisionTaskTimedOutCause.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum DecisionTaskTimedOutCause {
+ TIMEOUT,
+ RESET,
+}
diff --git a/.gen/com/uber/cadence/entities/DecisionTaskTimedOutEventAttributes.java b/.gen/com/uber/cadence/entities/DecisionTaskTimedOutEventAttributes.java
new file mode 100644
index 000000000..52cd6030b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DecisionTaskTimedOutEventAttributes.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DecisionTaskTimedOutEventAttributes {
+ private long scheduledEventId;
+ private long startedEventId;
+ private TimeoutType timeoutType;
+ private String baseRunId;
+ private String newRunId;
+ private long forkEventVersion;
+ private String reason;
+ private DecisionTaskTimedOutCause cause;
+ private String requestId;
+}
diff --git a/.gen/com/uber/cadence/entities/DecisionType.java b/.gen/com/uber/cadence/entities/DecisionType.java
new file mode 100644
index 000000000..eb7863a58
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DecisionType.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum DecisionType {
+ ScheduleActivityTask,
+ RequestCancelActivityTask,
+ StartTimer,
+ CompleteWorkflowExecution,
+ FailWorkflowExecution,
+ CancelTimer,
+ CancelWorkflowExecution,
+ RequestCancelExternalWorkflowExecution,
+ RecordMarker,
+ ContinueAsNewWorkflowExecution,
+ StartChildWorkflowExecution,
+ SignalExternalWorkflowExecution,
+ UpsertWorkflowSearchAttributes,
+}
diff --git a/.gen/com/uber/cadence/entities/DeprecateDomainRequest.java b/.gen/com/uber/cadence/entities/DeprecateDomainRequest.java
new file mode 100644
index 000000000..8ffa00b93
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DeprecateDomainRequest.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DeprecateDomainRequest {
+ private String name;
+ private String securityToken;
+}
diff --git a/.gen/com/uber/cadence/entities/DescribeDomainRequest.java b/.gen/com/uber/cadence/entities/DescribeDomainRequest.java
new file mode 100644
index 000000000..64be75a2a
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DescribeDomainRequest.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeDomainRequest {
+ private String name;
+ private String uuid;
+}
diff --git a/.gen/com/uber/cadence/entities/DescribeDomainResponse.java b/.gen/com/uber/cadence/entities/DescribeDomainResponse.java
new file mode 100644
index 000000000..4e8712bf5
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DescribeDomainResponse.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeDomainResponse {
+ private DomainInfo domainInfo;
+ private DomainConfiguration configuration;
+ private DomainReplicationConfiguration replicationConfiguration;
+ private long failoverVersion;
+ private boolean isGlobalDomain;
+ private FailoverInfo failoverInfo;
+}
diff --git a/.gen/com/uber/cadence/entities/DescribeHistoryHostRequest.java b/.gen/com/uber/cadence/entities/DescribeHistoryHostRequest.java
new file mode 100644
index 000000000..3326ef837
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DescribeHistoryHostRequest.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeHistoryHostRequest {
+ private String hostAddress;
+ private int shardIdForHost;
+ private WorkflowExecution executionForHost;
+}
diff --git a/.gen/com/uber/cadence/entities/DescribeHistoryHostResponse.java b/.gen/com/uber/cadence/entities/DescribeHistoryHostResponse.java
new file mode 100644
index 000000000..9cf7d68fd
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DescribeHistoryHostResponse.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeHistoryHostResponse {
+ private int numberOfShards;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeQueueRequest {
+ private int shardID;
+ private String clusterName;
+ private int type;
+}
diff --git a/.gen/com/uber/cadence/entities/DescribeQueueResponse.java b/.gen/com/uber/cadence/entities/DescribeQueueResponse.java
new file mode 100644
index 000000000..e5badb2dd
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DescribeQueueResponse.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeQueueResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeShardDistributionRequest {
+ private int pageSize;
+ private int pageID;
+}
diff --git a/.gen/com/uber/cadence/entities/DescribeShardDistributionResponse.java b/.gen/com/uber/cadence/entities/DescribeShardDistributionResponse.java
new file mode 100644
index 000000000..25d22db1b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DescribeShardDistributionResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeShardDistributionResponse {
+ private int numberOfShards;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeTaskListRequest {
+ private String domain;
+ private TaskList taskList;
+ private TaskListType taskListType;
+ private boolean includeTaskListStatus;
+}
diff --git a/.gen/com/uber/cadence/entities/DescribeTaskListResponse.java b/.gen/com/uber/cadence/entities/DescribeTaskListResponse.java
new file mode 100644
index 000000000..7f409c2e2
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DescribeTaskListResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeTaskListResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution execution;
+}
diff --git a/.gen/com/uber/cadence/entities/DescribeWorkflowExecutionResponse.java b/.gen/com/uber/cadence/entities/DescribeWorkflowExecutionResponse.java
new file mode 100644
index 000000000..b09e0420e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DescribeWorkflowExecutionResponse.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DescribeWorkflowExecutionResponse {
+ private WorkflowExecutionConfiguration executionConfiguration;
+ private WorkflowExecutionInfo workflowExecutionInfo;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class DomainAlreadyExistsError extends BaseError {
+
+ public DomainAlreadyExistsError() {
+ super();
+ }
+
+ public DomainAlreadyExistsError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public DomainAlreadyExistsError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/DomainCacheInfo.java b/.gen/com/uber/cadence/entities/DomainCacheInfo.java
new file mode 100644
index 000000000..0a9f4b333
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DomainCacheInfo.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DomainCacheInfo {
+ private long numOfItemsInCacheByID;
+ private long numOfItemsInCacheByName;
+}
diff --git a/.gen/com/uber/cadence/entities/DomainConfiguration.java b/.gen/com/uber/cadence/entities/DomainConfiguration.java
new file mode 100644
index 000000000..2e26a3b4c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DomainConfiguration.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DomainConfiguration {
+ private int workflowExecutionRetentionPeriodInDays;
+ private boolean emitMetric;
+ private IsolationGroupConfiguration isolationgroups;
+ private BadBinaries badBinaries;
+ private ArchivalStatus historyArchivalStatus;
+ private String historyArchivalURI;
+ private ArchivalStatus visibilityArchivalStatus;
+ private String visibilityArchivalURI;
+ private AsyncWorkflowConfiguration AsyncWorkflowConfiguration;
+}
diff --git a/.gen/com/uber/cadence/entities/DomainInfo.java b/.gen/com/uber/cadence/entities/DomainInfo.java
new file mode 100644
index 000000000..300cbf52d
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DomainInfo.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DomainInfo {
+ private String name;
+ private DomainStatus status;
+ private String description;
+ private String ownerEmail;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class DomainNotActiveError extends BaseError {
+ private String domainName;
+ private String currentCluster;
+ private String activeCluster;
+
+ public DomainNotActiveError() {
+ super();
+ }
+
+ public DomainNotActiveError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public DomainNotActiveError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/DomainReplicationConfiguration.java b/.gen/com/uber/cadence/entities/DomainReplicationConfiguration.java
new file mode 100644
index 000000000..ba2415171
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/DomainReplicationConfiguration.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class DomainReplicationConfiguration {
+ private String activeClusterName;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum DomainStatus {
+ REGISTERED,
+ DEPRECATED,
+ DELETED,
+}
diff --git a/.gen/com/uber/cadence/entities/EncodingType.java b/.gen/com/uber/cadence/entities/EncodingType.java
new file mode 100644
index 000000000..86305d62c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/EncodingType.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum EncodingType {
+ ThriftRW,
+ JSON,
+}
diff --git a/.gen/com/uber/cadence/entities/EntityNotExistsError.java b/.gen/com/uber/cadence/entities/EntityNotExistsError.java
new file mode 100644
index 000000000..d429c7759
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/EntityNotExistsError.java
@@ -0,0 +1,50 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class EntityNotExistsError extends BaseError {
+ private String currentCluster;
+ private String activeCluster;
+
+ public EntityNotExistsError() {
+ super();
+ }
+
+ public EntityNotExistsError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public EntityNotExistsError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/EventType.java b/.gen/com/uber/cadence/entities/EventType.java
new file mode 100644
index 000000000..3c66d24ef
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/EventType.java
@@ -0,0 +1,68 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum EventType {
+ WorkflowExecutionStarted,
+ WorkflowExecutionCompleted,
+ WorkflowExecutionFailed,
+ WorkflowExecutionTimedOut,
+ DecisionTaskScheduled,
+ DecisionTaskStarted,
+ DecisionTaskCompleted,
+ DecisionTaskTimedOut,
+ DecisionTaskFailed,
+ ActivityTaskScheduled,
+ ActivityTaskStarted,
+ ActivityTaskCompleted,
+ ActivityTaskFailed,
+ ActivityTaskTimedOut,
+ ActivityTaskCancelRequested,
+ RequestCancelActivityTaskFailed,
+ ActivityTaskCanceled,
+ TimerStarted,
+ TimerFired,
+ CancelTimerFailed,
+ TimerCanceled,
+ WorkflowExecutionCancelRequested,
+ WorkflowExecutionCanceled,
+ RequestCancelExternalWorkflowExecutionInitiated,
+ RequestCancelExternalWorkflowExecutionFailed,
+ ExternalWorkflowExecutionCancelRequested,
+ MarkerRecorded,
+ WorkflowExecutionSignaled,
+ WorkflowExecutionTerminated,
+ WorkflowExecutionContinuedAsNew,
+ StartChildWorkflowExecutionInitiated,
+ StartChildWorkflowExecutionFailed,
+ ChildWorkflowExecutionStarted,
+ ChildWorkflowExecutionCompleted,
+ ChildWorkflowExecutionFailed,
+ ChildWorkflowExecutionCanceled,
+ ChildWorkflowExecutionTimedOut,
+ ChildWorkflowExecutionTerminated,
+ SignalExternalWorkflowExecutionInitiated,
+ SignalExternalWorkflowExecutionFailed,
+ ExternalWorkflowExecutionSignaled,
+ UpsertWorkflowSearchAttributes,
+}
diff --git a/.gen/com/uber/cadence/entities/ExternalWorkflowExecutionCancelRequestedEventAttributes.java b/.gen/com/uber/cadence/entities/ExternalWorkflowExecutionCancelRequestedEventAttributes.java
new file mode 100644
index 000000000..a4c6cfde9
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ExternalWorkflowExecutionCancelRequestedEventAttributes.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ExternalWorkflowExecutionCancelRequestedEventAttributes {
+ private long initiatedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+}
diff --git a/.gen/com/uber/cadence/entities/ExternalWorkflowExecutionSignaledEventAttributes.java b/.gen/com/uber/cadence/entities/ExternalWorkflowExecutionSignaledEventAttributes.java
new file mode 100644
index 000000000..aeefed39c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ExternalWorkflowExecutionSignaledEventAttributes.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ExternalWorkflowExecutionSignaledEventAttributes {
+ private long initiatedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private byte[] control;
+}
diff --git a/.gen/com/uber/cadence/entities/FailWorkflowExecutionDecisionAttributes.java b/.gen/com/uber/cadence/entities/FailWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..00ab5d714
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/FailWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class FailWorkflowExecutionDecisionAttributes {
+ private String reason;
+ private byte[] details;
+}
diff --git a/.gen/com/uber/cadence/entities/FailoverInfo.java b/.gen/com/uber/cadence/entities/FailoverInfo.java
new file mode 100644
index 000000000..96c441e8c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/FailoverInfo.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class FailoverInfo {
+ private long failoverVersion;
+ private long failoverStartTimestamp;
+ private long failoverExpireTimestamp;
+ private int completedShardCount;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class FeatureFlags {
+ private boolean WorkflowExecutionAlreadyCompletedErrorEnabled;
+}
diff --git a/.gen/com/uber/cadence/entities/FeatureNotEnabledError.java b/.gen/com/uber/cadence/entities/FeatureNotEnabledError.java
new file mode 100644
index 000000000..6398e11e8
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/FeatureNotEnabledError.java
@@ -0,0 +1,49 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class FeatureNotEnabledError extends BaseError {
+ private String featureFlag;
+
+ public FeatureNotEnabledError() {
+ super();
+ }
+
+ public FeatureNotEnabledError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public FeatureNotEnabledError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/GetCrossClusterTasksRequest.java b/.gen/com/uber/cadence/entities/GetCrossClusterTasksRequest.java
new file mode 100644
index 000000000..409fb8c8f
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/GetCrossClusterTasksRequest.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class GetCrossClusterTasksRequest {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class GetCrossClusterTasksResponse {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class GetSearchAttributesResponse {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum GetTaskFailedCause {
+ SERVICE_BUSY,
+ TIMEOUT,
+ SHARD_OWNERSHIP_LOST,
+ UNCATEGORIZED,
+}
diff --git a/.gen/com/uber/cadence/entities/GetTaskListsByDomainRequest.java b/.gen/com/uber/cadence/entities/GetTaskListsByDomainRequest.java
new file mode 100644
index 000000000..de4837eba
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/GetTaskListsByDomainRequest.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class GetTaskListsByDomainRequest {
+ private String domainName;
+}
diff --git a/.gen/com/uber/cadence/entities/GetTaskListsByDomainResponse.java b/.gen/com/uber/cadence/entities/GetTaskListsByDomainResponse.java
new file mode 100644
index 000000000..34d9d131f
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/GetTaskListsByDomainResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class GetTaskListsByDomainResponse {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class GetWorkflowExecutionHistoryRequest {
+ private String domain;
+ private WorkflowExecution execution;
+ private int maximumPageSize;
+ private byte[] nextPageToken;
+ private boolean waitForNewEvent;
+ private HistoryEventFilterType HistoryEventFilterType;
+ private boolean skipArchival;
+}
diff --git a/.gen/com/uber/cadence/entities/GetWorkflowExecutionHistoryResponse.java b/.gen/com/uber/cadence/entities/GetWorkflowExecutionHistoryResponse.java
new file mode 100644
index 000000000..9c47bc302
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/GetWorkflowExecutionHistoryResponse.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class GetWorkflowExecutionHistoryResponse {
+ private History history;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class Header {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class History {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class HistoryBranch {
+ private String treeID;
+ private String branchID;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class HistoryBranchRange {
+ private String branchID;
+ private long beginNodeID;
+ private long endNodeID;
+}
diff --git a/.gen/com/uber/cadence/entities/HistoryEvent.java b/.gen/com/uber/cadence/entities/HistoryEvent.java
new file mode 100644
index 000000000..3bdecaafc
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/HistoryEvent.java
@@ -0,0 +1,95 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class HistoryEvent {
+ private long eventId;
+ private long timestamp;
+ private EventType eventType;
+ private long version;
+ private long taskId;
+ private WorkflowExecutionStartedEventAttributes workflowExecutionStartedEventAttributes;
+ private WorkflowExecutionCompletedEventAttributes workflowExecutionCompletedEventAttributes;
+ private WorkflowExecutionFailedEventAttributes workflowExecutionFailedEventAttributes;
+ private WorkflowExecutionTimedOutEventAttributes workflowExecutionTimedOutEventAttributes;
+ private DecisionTaskScheduledEventAttributes decisionTaskScheduledEventAttributes;
+ private DecisionTaskStartedEventAttributes decisionTaskStartedEventAttributes;
+ private DecisionTaskCompletedEventAttributes decisionTaskCompletedEventAttributes;
+ private DecisionTaskTimedOutEventAttributes decisionTaskTimedOutEventAttributes;
+ private DecisionTaskFailedEventAttributes decisionTaskFailedEventAttributes;
+ private ActivityTaskScheduledEventAttributes activityTaskScheduledEventAttributes;
+ private ActivityTaskStartedEventAttributes activityTaskStartedEventAttributes;
+ private ActivityTaskCompletedEventAttributes activityTaskCompletedEventAttributes;
+ private ActivityTaskFailedEventAttributes activityTaskFailedEventAttributes;
+ private ActivityTaskTimedOutEventAttributes activityTaskTimedOutEventAttributes;
+ private TimerStartedEventAttributes timerStartedEventAttributes;
+ private TimerFiredEventAttributes timerFiredEventAttributes;
+ private ActivityTaskCancelRequestedEventAttributes activityTaskCancelRequestedEventAttributes;
+ private RequestCancelActivityTaskFailedEventAttributes
+ requestCancelActivityTaskFailedEventAttributes;
+ private ActivityTaskCanceledEventAttributes activityTaskCanceledEventAttributes;
+ private TimerCanceledEventAttributes timerCanceledEventAttributes;
+ private CancelTimerFailedEventAttributes cancelTimerFailedEventAttributes;
+ private MarkerRecordedEventAttributes markerRecordedEventAttributes;
+ private WorkflowExecutionSignaledEventAttributes workflowExecutionSignaledEventAttributes;
+ private WorkflowExecutionTerminatedEventAttributes workflowExecutionTerminatedEventAttributes;
+ private WorkflowExecutionCancelRequestedEventAttributes
+ workflowExecutionCancelRequestedEventAttributes;
+ private WorkflowExecutionCanceledEventAttributes workflowExecutionCanceledEventAttributes;
+ private RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+ requestCancelExternalWorkflowExecutionInitiatedEventAttributes;
+ private RequestCancelExternalWorkflowExecutionFailedEventAttributes
+ requestCancelExternalWorkflowExecutionFailedEventAttributes;
+ private ExternalWorkflowExecutionCancelRequestedEventAttributes
+ externalWorkflowExecutionCancelRequestedEventAttributes;
+ private WorkflowExecutionContinuedAsNewEventAttributes
+ workflowExecutionContinuedAsNewEventAttributes;
+ private StartChildWorkflowExecutionInitiatedEventAttributes
+ startChildWorkflowExecutionInitiatedEventAttributes;
+ private StartChildWorkflowExecutionFailedEventAttributes
+ startChildWorkflowExecutionFailedEventAttributes;
+ private ChildWorkflowExecutionStartedEventAttributes childWorkflowExecutionStartedEventAttributes;
+ private ChildWorkflowExecutionCompletedEventAttributes
+ childWorkflowExecutionCompletedEventAttributes;
+ private ChildWorkflowExecutionFailedEventAttributes childWorkflowExecutionFailedEventAttributes;
+ private ChildWorkflowExecutionCanceledEventAttributes
+ childWorkflowExecutionCanceledEventAttributes;
+ private ChildWorkflowExecutionTimedOutEventAttributes
+ childWorkflowExecutionTimedOutEventAttributes;
+ private ChildWorkflowExecutionTerminatedEventAttributes
+ childWorkflowExecutionTerminatedEventAttributes;
+ private SignalExternalWorkflowExecutionInitiatedEventAttributes
+ signalExternalWorkflowExecutionInitiatedEventAttributes;
+ private SignalExternalWorkflowExecutionFailedEventAttributes
+ signalExternalWorkflowExecutionFailedEventAttributes;
+ private ExternalWorkflowExecutionSignaledEventAttributes
+ externalWorkflowExecutionSignaledEventAttributes;
+ private UpsertWorkflowSearchAttributesEventAttributes
+ upsertWorkflowSearchAttributesEventAttributes;
+}
diff --git a/.gen/com/uber/cadence/entities/HistoryEventFilterType.java b/.gen/com/uber/cadence/entities/HistoryEventFilterType.java
new file mode 100644
index 000000000..7b50cc680
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/HistoryEventFilterType.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum HistoryEventFilterType {
+ ALL_EVENT,
+ CLOSE_EVENT,
+}
diff --git a/.gen/com/uber/cadence/entities/IndexedValueType.java b/.gen/com/uber/cadence/entities/IndexedValueType.java
new file mode 100644
index 000000000..2e0d270bb
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/IndexedValueType.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum IndexedValueType {
+ STRING,
+ KEYWORD,
+ INT,
+ DOUBLE,
+ BOOL,
+ DATETIME,
+}
diff --git a/.gen/com/uber/cadence/entities/InternalDataInconsistencyError.java b/.gen/com/uber/cadence/entities/InternalDataInconsistencyError.java
new file mode 100644
index 000000000..0944fb908
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/InternalDataInconsistencyError.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class InternalDataInconsistencyError extends BaseError {
+
+ public InternalDataInconsistencyError() {
+ super();
+ }
+
+ public InternalDataInconsistencyError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InternalDataInconsistencyError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/InternalServiceError.java b/.gen/com/uber/cadence/entities/InternalServiceError.java
new file mode 100644
index 000000000..6143a9d7f
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/InternalServiceError.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class InternalServiceError extends BaseError {
+
+ public InternalServiceError() {
+ super();
+ }
+
+ public InternalServiceError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InternalServiceError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/IsolationGroupConfiguration.java b/.gen/com/uber/cadence/entities/IsolationGroupConfiguration.java
new file mode 100644
index 000000000..6012eb361
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/IsolationGroupConfiguration.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class IsolationGroupConfiguration {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class IsolationGroupPartition {
+ private String name;
+ private IsolationGroupState state;
+}
diff --git a/.gen/com/uber/cadence/entities/IsolationGroupState.java b/.gen/com/uber/cadence/entities/IsolationGroupState.java
new file mode 100644
index 000000000..163b39a2b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/IsolationGroupState.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum IsolationGroupState {
+ INVALID,
+ HEALTHY,
+ DRAINED,
+}
diff --git a/.gen/com/uber/cadence/entities/LimitExceededError.java b/.gen/com/uber/cadence/entities/LimitExceededError.java
new file mode 100644
index 000000000..6f56b0138
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/LimitExceededError.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class LimitExceededError extends BaseError {
+
+ public LimitExceededError() {
+ super();
+ }
+
+ public LimitExceededError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public LimitExceededError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/ListArchivedWorkflowExecutionsRequest.java b/.gen/com/uber/cadence/entities/ListArchivedWorkflowExecutionsRequest.java
new file mode 100644
index 000000000..7c4a8e6c0
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ListArchivedWorkflowExecutionsRequest.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListArchivedWorkflowExecutionsRequest {
+ private String domain;
+ private int pageSize;
+ private byte[] nextPageToken;
+ private String query;
+}
diff --git a/.gen/com/uber/cadence/entities/ListArchivedWorkflowExecutionsResponse.java b/.gen/com/uber/cadence/entities/ListArchivedWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..79223d498
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ListArchivedWorkflowExecutionsResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListArchivedWorkflowExecutionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListClosedWorkflowExecutionsRequest {
+ private String domain;
+ private int maximumPageSize;
+ private byte[] nextPageToken;
+ private StartTimeFilter StartTimeFilter;
+ private WorkflowExecutionFilter executionFilter;
+ private WorkflowTypeFilter typeFilter;
+ private WorkflowExecutionCloseStatus statusFilter;
+}
diff --git a/.gen/com/uber/cadence/entities/ListClosedWorkflowExecutionsResponse.java b/.gen/com/uber/cadence/entities/ListClosedWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..68282b51b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ListClosedWorkflowExecutionsResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListClosedWorkflowExecutionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListDomainsRequest {
+ private int pageSize;
+ private byte[] nextPageToken;
+}
diff --git a/.gen/com/uber/cadence/entities/ListDomainsResponse.java b/.gen/com/uber/cadence/entities/ListDomainsResponse.java
new file mode 100644
index 000000000..b996e1bfd
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ListDomainsResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListDomainsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListOpenWorkflowExecutionsRequest {
+ private String domain;
+ private int maximumPageSize;
+ private byte[] nextPageToken;
+ private StartTimeFilter StartTimeFilter;
+ private WorkflowExecutionFilter executionFilter;
+ private WorkflowTypeFilter typeFilter;
+}
diff --git a/.gen/com/uber/cadence/entities/ListOpenWorkflowExecutionsResponse.java b/.gen/com/uber/cadence/entities/ListOpenWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..02bf0b440
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ListOpenWorkflowExecutionsResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListOpenWorkflowExecutionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListTaskListPartitionsRequest {
+ private String domain;
+ private TaskList taskList;
+}
diff --git a/.gen/com/uber/cadence/entities/ListTaskListPartitionsResponse.java b/.gen/com/uber/cadence/entities/ListTaskListPartitionsResponse.java
new file mode 100644
index 000000000..2eb347926
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ListTaskListPartitionsResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListTaskListPartitionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListWorkflowExecutionsRequest {
+ private String domain;
+ private int pageSize;
+ private byte[] nextPageToken;
+ private String query;
+}
diff --git a/.gen/com/uber/cadence/entities/ListWorkflowExecutionsResponse.java b/.gen/com/uber/cadence/entities/ListWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..8e673fdfb
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ListWorkflowExecutionsResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ListWorkflowExecutionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class MarkerRecordedEventAttributes {
+ private String markerName;
+ private byte[] details;
+ private long decisionTaskCompletedEventId;
+ private Header header;
+}
diff --git a/.gen/com/uber/cadence/entities/Memo.java b/.gen/com/uber/cadence/entities/Memo.java
new file mode 100644
index 000000000..8d8326977
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/Memo.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class Memo {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum ParentClosePolicy {
+ ABANDON,
+ REQUEST_CANCEL,
+ TERMINATE,
+}
diff --git a/.gen/com/uber/cadence/entities/PendingActivityInfo.java b/.gen/com/uber/cadence/entities/PendingActivityInfo.java
new file mode 100644
index 000000000..091112c0c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PendingActivityInfo.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class PendingActivityInfo {
+ private String activityID;
+ private ActivityType activityType;
+ private PendingActivityState state;
+ private byte[] heartbeatDetails;
+ private long lastHeartbeatTimestamp;
+ private long lastStartedTimestamp;
+ private int attempt;
+ private int maximumAttempts;
+ private long scheduledTimestamp;
+ private long expirationTimestamp;
+ private String lastFailureReason;
+ private String lastWorkerIdentity;
+ private byte[] lastFailureDetails;
+ private String startedWorkerIdentity;
+}
diff --git a/.gen/com/uber/cadence/entities/PendingActivityState.java b/.gen/com/uber/cadence/entities/PendingActivityState.java
new file mode 100644
index 000000000..414e30958
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PendingActivityState.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum PendingActivityState {
+ SCHEDULED,
+ STARTED,
+ CANCEL_REQUESTED,
+}
diff --git a/.gen/com/uber/cadence/entities/PendingChildExecutionInfo.java b/.gen/com/uber/cadence/entities/PendingChildExecutionInfo.java
new file mode 100644
index 000000000..3d3a3d34e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PendingChildExecutionInfo.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class PendingChildExecutionInfo {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String workflowTypName;
+ private long initiatedID;
+ private ParentClosePolicy parentClosePolicy;
+}
diff --git a/.gen/com/uber/cadence/entities/PendingDecisionInfo.java b/.gen/com/uber/cadence/entities/PendingDecisionInfo.java
new file mode 100644
index 000000000..262a3934f
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PendingDecisionInfo.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class PendingDecisionInfo {
+ private PendingDecisionState state;
+ private long scheduledTimestamp;
+ private long startedTimestamp;
+ private long attempt;
+ private long originalScheduledTimestamp;
+}
diff --git a/.gen/com/uber/cadence/entities/PendingDecisionState.java b/.gen/com/uber/cadence/entities/PendingDecisionState.java
new file mode 100644
index 000000000..e9e42c7d2
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PendingDecisionState.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum PendingDecisionState {
+ SCHEDULED,
+ STARTED,
+}
diff --git a/.gen/com/uber/cadence/entities/PollForActivityTaskRequest.java b/.gen/com/uber/cadence/entities/PollForActivityTaskRequest.java
new file mode 100644
index 000000000..83e0e8293
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PollForActivityTaskRequest.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class PollForActivityTaskRequest {
+ private String domain;
+ private TaskList taskList;
+ private String identity;
+ private TaskListMetadata taskListMetadata;
+}
diff --git a/.gen/com/uber/cadence/entities/PollForActivityTaskResponse.java b/.gen/com/uber/cadence/entities/PollForActivityTaskResponse.java
new file mode 100644
index 000000000..7d8be89ec
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PollForActivityTaskResponse.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class PollForActivityTaskResponse {
+ private byte[] taskToken;
+ private WorkflowExecution workflowExecution;
+ private String activityId;
+ private ActivityType activityType;
+ private byte[] input;
+ private long scheduledTimestamp;
+ private int scheduleToCloseTimeoutSeconds;
+ private long startedTimestamp;
+ private int startToCloseTimeoutSeconds;
+ private int heartbeatTimeoutSeconds;
+ private int attempt;
+ private long scheduledTimestampOfThisAttempt;
+ private byte[] heartbeatDetails;
+ private WorkflowType workflowType;
+ private String workflowDomain;
+ private Header header;
+}
diff --git a/.gen/com/uber/cadence/entities/PollForDecisionTaskRequest.java b/.gen/com/uber/cadence/entities/PollForDecisionTaskRequest.java
new file mode 100644
index 000000000..40097da71
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PollForDecisionTaskRequest.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class PollForDecisionTaskRequest {
+ private String domain;
+ private TaskList taskList;
+ private String identity;
+ private String binaryChecksum;
+}
diff --git a/.gen/com/uber/cadence/entities/PollForDecisionTaskResponse.java b/.gen/com/uber/cadence/entities/PollForDecisionTaskResponse.java
new file mode 100644
index 000000000..116605724
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/PollForDecisionTaskResponse.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class PollForDecisionTaskResponse {
+ private byte[] taskToken;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long previousStartedEventId;
+ private long startedEventId;
+ private long attempt;
+ private long backlogCountHint;
+ private History history;
+ private byte[] nextPageToken;
+ private WorkflowQuery query;
+ private TaskList WorkflowExecutionTaskList;
+ private long scheduledTimestamp;
+ private long startedTimestamp;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class PollerInfo {
+ private long lastAccessTime;
+ private String identity;
+ private double ratePerSecond;
+}
diff --git a/.gen/com/uber/cadence/entities/QueryConsistencyLevel.java b/.gen/com/uber/cadence/entities/QueryConsistencyLevel.java
new file mode 100644
index 000000000..476940010
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/QueryConsistencyLevel.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum QueryConsistencyLevel {
+ EVENTUAL,
+ STRONG,
+}
diff --git a/.gen/com/uber/cadence/entities/QueryFailedError.java b/.gen/com/uber/cadence/entities/QueryFailedError.java
new file mode 100644
index 000000000..7ff187af1
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/QueryFailedError.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class QueryFailedError extends BaseError {
+
+ public QueryFailedError() {
+ super();
+ }
+
+ public QueryFailedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public QueryFailedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/QueryRejectCondition.java b/.gen/com/uber/cadence/entities/QueryRejectCondition.java
new file mode 100644
index 000000000..bfafe66f0
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/QueryRejectCondition.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum QueryRejectCondition {
+ NOT_OPEN,
+ NOT_COMPLETED_CLEANLY,
+}
diff --git a/.gen/com/uber/cadence/entities/QueryRejected.java b/.gen/com/uber/cadence/entities/QueryRejected.java
new file mode 100644
index 000000000..97145a487
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/QueryRejected.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class QueryRejected {
+ private WorkflowExecutionCloseStatus closeStatus;
+}
diff --git a/.gen/com/uber/cadence/entities/QueryResultType.java b/.gen/com/uber/cadence/entities/QueryResultType.java
new file mode 100644
index 000000000..c30b9a4c1
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/QueryResultType.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum QueryResultType {
+ ANSWERED,
+ FAILED,
+}
diff --git a/.gen/com/uber/cadence/entities/QueryTaskCompletedType.java b/.gen/com/uber/cadence/entities/QueryTaskCompletedType.java
new file mode 100644
index 000000000..acf6b1648
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/QueryTaskCompletedType.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum QueryTaskCompletedType {
+ COMPLETED,
+ FAILED,
+}
diff --git a/.gen/com/uber/cadence/entities/QueryWorkflowRequest.java b/.gen/com/uber/cadence/entities/QueryWorkflowRequest.java
new file mode 100644
index 000000000..239e30880
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/QueryWorkflowRequest.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class QueryWorkflowRequest {
+ private String domain;
+ private WorkflowExecution execution;
+ private WorkflowQuery query;
+ private QueryRejectCondition queryRejectCondition;
+ private QueryConsistencyLevel queryConsistencyLevel;
+}
diff --git a/.gen/com/uber/cadence/entities/QueryWorkflowResponse.java b/.gen/com/uber/cadence/entities/QueryWorkflowResponse.java
new file mode 100644
index 000000000..6f58cc2ec
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/QueryWorkflowResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class QueryWorkflowResponse {
+ private byte[] queryResult;
+ private QueryRejected queryRejected;
+}
diff --git a/.gen/com/uber/cadence/entities/ReapplyEventsRequest.java b/.gen/com/uber/cadence/entities/ReapplyEventsRequest.java
new file mode 100644
index 000000000..b9ad7c7e0
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ReapplyEventsRequest.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ReapplyEventsRequest {
+ private String domainName;
+ private WorkflowExecution workflowExecution;
+ private DataBlob events;
+}
diff --git a/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatByIDRequest.java b/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatByIDRequest.java
new file mode 100644
index 000000000..aefb3eba0
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatByIDRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RecordActivityTaskHeartbeatByIDRequest {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String activityID;
+ private byte[] details;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatRequest.java b/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatRequest.java
new file mode 100644
index 000000000..b5ca72f9b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatRequest.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RecordActivityTaskHeartbeatRequest {
+ private byte[] taskToken;
+ private byte[] details;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatResponse.java b/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatResponse.java
new file mode 100644
index 000000000..d0db059b8
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RecordActivityTaskHeartbeatResponse.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RecordActivityTaskHeartbeatResponse {
+ private boolean cancelRequested;
+}
diff --git a/.gen/com/uber/cadence/entities/RecordMarkerDecisionAttributes.java b/.gen/com/uber/cadence/entities/RecordMarkerDecisionAttributes.java
new file mode 100644
index 000000000..c98a9717d
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RecordMarkerDecisionAttributes.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RecordMarkerDecisionAttributes {
+ private String markerName;
+ private byte[] details;
+ private Header header;
+}
diff --git a/.gen/com/uber/cadence/entities/RefreshWorkflowTasksRequest.java b/.gen/com/uber/cadence/entities/RefreshWorkflowTasksRequest.java
new file mode 100644
index 000000000..160bf5824
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RefreshWorkflowTasksRequest.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RefreshWorkflowTasksRequest {
+ private String domain;
+ private WorkflowExecution execution;
+}
diff --git a/.gen/com/uber/cadence/entities/RegisterDomainRequest.java b/.gen/com/uber/cadence/entities/RegisterDomainRequest.java
new file mode 100644
index 000000000..4580d24e5
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RegisterDomainRequest.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RegisterDomainRequest {
+ private String name;
+ private String description;
+ private String ownerEmail;
+ private int workflowExecutionRetentionPeriodInDays;
+ private boolean emitMetric;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class RemoteSyncMatchedError extends BaseError {
+
+ public RemoteSyncMatchedError() {
+ super();
+ }
+
+ public RemoteSyncMatchedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public RemoteSyncMatchedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/RemoveTaskRequest.java b/.gen/com/uber/cadence/entities/RemoveTaskRequest.java
new file mode 100644
index 000000000..7464cf8ae
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RemoveTaskRequest.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RemoveTaskRequest {
+ private int shardID;
+ private int type;
+ private long taskID;
+ private long visibilityTimestamp;
+ private String clusterName;
+}
diff --git a/.gen/com/uber/cadence/entities/RequestCancelActivityTaskDecisionAttributes.java b/.gen/com/uber/cadence/entities/RequestCancelActivityTaskDecisionAttributes.java
new file mode 100644
index 000000000..434a94e31
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RequestCancelActivityTaskDecisionAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RequestCancelActivityTaskDecisionAttributes {
+ private String activityId;
+}
diff --git a/.gen/com/uber/cadence/entities/RequestCancelActivityTaskFailedEventAttributes.java b/.gen/com/uber/cadence/entities/RequestCancelActivityTaskFailedEventAttributes.java
new file mode 100644
index 000000000..5ce2cc762
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RequestCancelActivityTaskFailedEventAttributes.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RequestCancelActivityTaskFailedEventAttributes {
+ private String activityId;
+ private String cause;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionDecisionAttributes.java b/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..aabe737a6
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RequestCancelExternalWorkflowExecutionDecisionAttributes {
+ private String domain;
+ private String workflowId;
+ private String runId;
+ private byte[] control;
+ private boolean childWorkflowOnly;
+}
diff --git a/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionFailedEventAttributes.java b/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..801705dd5
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RequestCancelExternalWorkflowExecutionFailedEventAttributes {
+ private CancelExternalWorkflowExecutionFailedCause cause;
+ private long decisionTaskCompletedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private long initiatedEventId;
+ private byte[] control;
+}
diff --git a/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.java b/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.java
new file mode 100644
index 000000000..79c7503a6
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes {
+ private long decisionTaskCompletedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private byte[] control;
+ private boolean childWorkflowOnly;
+}
diff --git a/.gen/com/uber/cadence/entities/RequestCancelWorkflowExecutionRequest.java b/.gen/com/uber/cadence/entities/RequestCancelWorkflowExecutionRequest.java
new file mode 100644
index 000000000..9dacbece6
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RequestCancelWorkflowExecutionRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RequestCancelWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String identity;
+ private String requestId;
+ private String cause;
+ private String firstExecutionRunID;
+}
diff --git a/.gen/com/uber/cadence/entities/ResetPointInfo.java b/.gen/com/uber/cadence/entities/ResetPointInfo.java
new file mode 100644
index 000000000..14b58f61e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ResetPointInfo.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ResetPointInfo {
+ private String binaryChecksum;
+ private String runId;
+ private long firstDecisionCompletedId;
+ private long createdTimeNano;
+ private long expiringTimeNano;
+ private boolean resettable;
+}
diff --git a/.gen/com/uber/cadence/entities/ResetPoints.java b/.gen/com/uber/cadence/entities/ResetPoints.java
new file mode 100644
index 000000000..27a1736fa
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ResetPoints.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ResetPoints {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ResetQueueRequest {
+ private int shardID;
+ private String clusterName;
+ private int type;
+}
diff --git a/.gen/com/uber/cadence/entities/ResetStickyTaskListRequest.java b/.gen/com/uber/cadence/entities/ResetStickyTaskListRequest.java
new file mode 100644
index 000000000..a63fbe5e3
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ResetStickyTaskListRequest.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ResetStickyTaskListRequest {
+ private String domain;
+ private WorkflowExecution execution;
+}
diff --git a/.gen/com/uber/cadence/entities/ResetStickyTaskListResponse.java b/.gen/com/uber/cadence/entities/ResetStickyTaskListResponse.java
new file mode 100644
index 000000000..63a5edc6b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ResetStickyTaskListResponse.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ResetStickyTaskListResponse {}
diff --git a/.gen/com/uber/cadence/entities/ResetWorkflowExecutionRequest.java b/.gen/com/uber/cadence/entities/ResetWorkflowExecutionRequest.java
new file mode 100644
index 000000000..258bc5e73
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ResetWorkflowExecutionRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ResetWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String reason;
+ private long decisionFinishEventId;
+ private String requestId;
+ private boolean skipSignalReapply;
+}
diff --git a/.gen/com/uber/cadence/entities/ResetWorkflowExecutionResponse.java b/.gen/com/uber/cadence/entities/ResetWorkflowExecutionResponse.java
new file mode 100644
index 000000000..5b5a24235
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ResetWorkflowExecutionResponse.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ResetWorkflowExecutionResponse {
+ private String runId;
+}
diff --git a/.gen/com/uber/cadence/entities/RespondActivityTaskCanceledByIDRequest.java b/.gen/com/uber/cadence/entities/RespondActivityTaskCanceledByIDRequest.java
new file mode 100644
index 000000000..339c8ba4e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RespondActivityTaskCanceledByIDRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskCanceledByIDRequest {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String activityID;
+ private byte[] details;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RespondActivityTaskCanceledRequest.java b/.gen/com/uber/cadence/entities/RespondActivityTaskCanceledRequest.java
new file mode 100644
index 000000000..7b55f28d3
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RespondActivityTaskCanceledRequest.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskCanceledRequest {
+ private byte[] taskToken;
+ private byte[] details;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RespondActivityTaskCompletedByIDRequest.java b/.gen/com/uber/cadence/entities/RespondActivityTaskCompletedByIDRequest.java
new file mode 100644
index 000000000..1fb26b920
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RespondActivityTaskCompletedByIDRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskCompletedByIDRequest {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String activityID;
+ private byte[] result;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RespondActivityTaskCompletedRequest.java b/.gen/com/uber/cadence/entities/RespondActivityTaskCompletedRequest.java
new file mode 100644
index 000000000..16f454d1e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RespondActivityTaskCompletedRequest.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskCompletedRequest {
+ private byte[] taskToken;
+ private byte[] result;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RespondActivityTaskFailedByIDRequest.java b/.gen/com/uber/cadence/entities/RespondActivityTaskFailedByIDRequest.java
new file mode 100644
index 000000000..8a336845d
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RespondActivityTaskFailedByIDRequest.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskFailedByIDRequest {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String activityID;
+ private String reason;
+ private byte[] details;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RespondActivityTaskFailedRequest.java b/.gen/com/uber/cadence/entities/RespondActivityTaskFailedRequest.java
new file mode 100644
index 000000000..5cbe4019c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RespondActivityTaskFailedRequest.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskFailedRequest {
+ private byte[] taskToken;
+ private String reason;
+ private byte[] details;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RespondCrossClusterTasksCompletedRequest.java b/.gen/com/uber/cadence/entities/RespondCrossClusterTasksCompletedRequest.java
new file mode 100644
index 000000000..8f12aef2b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RespondCrossClusterTasksCompletedRequest.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondCrossClusterTasksCompletedRequest {
+ private int shardID;
+ private String targetCluster;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondCrossClusterTasksCompletedResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondDecisionTaskCompletedRequest {
+ private byte[] taskToken;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondDecisionTaskCompletedResponse {
+ private PollForDecisionTaskResponse decisionTask;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondDecisionTaskFailedRequest {
+ private byte[] taskToken;
+ private DecisionTaskFailedCause cause;
+ private byte[] details;
+ private String identity;
+ private String binaryChecksum;
+}
diff --git a/.gen/com/uber/cadence/entities/RespondQueryTaskCompletedRequest.java b/.gen/com/uber/cadence/entities/RespondQueryTaskCompletedRequest.java
new file mode 100644
index 000000000..9807b2689
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RespondQueryTaskCompletedRequest.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RespondQueryTaskCompletedRequest {
+ private byte[] taskToken;
+ private QueryTaskCompletedType completedType;
+ private byte[] queryResult;
+ private String errorMessage;
+ private WorkerVersionInfo workerVersionInfo;
+}
diff --git a/.gen/com/uber/cadence/entities/RestartWorkflowExecutionRequest.java b/.gen/com/uber/cadence/entities/RestartWorkflowExecutionRequest.java
new file mode 100644
index 000000000..5ef3a3f15
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RestartWorkflowExecutionRequest.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RestartWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String reason;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/RestartWorkflowExecutionResponse.java b/.gen/com/uber/cadence/entities/RestartWorkflowExecutionResponse.java
new file mode 100644
index 000000000..1ce6fa5db
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RestartWorkflowExecutionResponse.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RestartWorkflowExecutionResponse {
+ private String runId;
+}
diff --git a/.gen/com/uber/cadence/entities/RetryPolicy.java b/.gen/com/uber/cadence/entities/RetryPolicy.java
new file mode 100644
index 000000000..bfba5bb81
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/RetryPolicy.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class RetryPolicy {
+ private int initialIntervalInSeconds;
+ private double backoffCoefficient;
+ private int maximumIntervalInSeconds;
+ private int maximumAttempts;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class RetryTaskV2Error extends BaseError {
+ private String domainId;
+ private String workflowId;
+ private String runId;
+ private long startEventId;
+ private long startEventVersion;
+ private long endEventId;
+ private long endEventVersion;
+
+ public RetryTaskV2Error() {
+ super();
+ }
+
+ public RetryTaskV2Error(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public RetryTaskV2Error(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/ScheduleActivityTaskDecisionAttributes.java b/.gen/com/uber/cadence/entities/ScheduleActivityTaskDecisionAttributes.java
new file mode 100644
index 000000000..82791a034
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/ScheduleActivityTaskDecisionAttributes.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class ScheduleActivityTaskDecisionAttributes {
+ private String activityId;
+ private ActivityType activityType;
+ private String domain;
+ private TaskList taskList;
+ private byte[] input;
+ private int scheduleToCloseTimeoutSeconds;
+ private int scheduleToStartTimeoutSeconds;
+ private int startToCloseTimeoutSeconds;
+ private int heartbeatTimeoutSeconds;
+ private RetryPolicy retryPolicy;
+ private Header header;
+ private boolean requestLocalDispatch;
+}
diff --git a/.gen/com/uber/cadence/entities/SearchAttributes.java b/.gen/com/uber/cadence/entities/SearchAttributes.java
new file mode 100644
index 000000000..ab1d99134
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SearchAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SearchAttributes {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class ServiceBusyError extends BaseError {
+ private String reason;
+
+ public ServiceBusyError() {
+ super();
+ }
+
+ public ServiceBusyError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public ServiceBusyError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionDecisionAttributes.java b/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..82634d69b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SignalExternalWorkflowExecutionDecisionAttributes {
+ private String domain;
+ private WorkflowExecution execution;
+ private String signalName;
+ private byte[] input;
+ private byte[] control;
+ private boolean childWorkflowOnly;
+}
diff --git a/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedCause.java b/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedCause.java
new file mode 100644
index 000000000..c395343f8
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedCause.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum SignalExternalWorkflowExecutionFailedCause {
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION,
+ WORKFLOW_ALREADY_COMPLETED,
+}
diff --git a/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedEventAttributes.java b/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..c20eecef8
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SignalExternalWorkflowExecutionFailedEventAttributes {
+ private SignalExternalWorkflowExecutionFailedCause cause;
+ private long decisionTaskCompletedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private long initiatedEventId;
+ private byte[] control;
+}
diff --git a/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionInitiatedEventAttributes.java b/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionInitiatedEventAttributes.java
new file mode 100644
index 000000000..651c234b4
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SignalExternalWorkflowExecutionInitiatedEventAttributes.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SignalExternalWorkflowExecutionInitiatedEventAttributes {
+ private long decisionTaskCompletedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String signalName;
+ private byte[] input;
+ private byte[] control;
+ private boolean childWorkflowOnly;
+}
diff --git a/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncRequest.java b/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncRequest.java
new file mode 100644
index 000000000..08e1b45d2
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncRequest.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SignalWithStartWorkflowExecutionAsyncRequest {
+ private SignalWithStartWorkflowExecutionRequest request;
+}
diff --git a/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncResponse.java b/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncResponse.java
new file mode 100644
index 000000000..15a9eda90
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncResponse.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SignalWithStartWorkflowExecutionAsyncResponse {}
diff --git a/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionRequest.java b/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionRequest.java
new file mode 100644
index 000000000..70f5f413a
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SignalWithStartWorkflowExecutionRequest.java
@@ -0,0 +1,52 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SignalWithStartWorkflowExecutionRequest {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private String identity;
+ private String requestId;
+ private WorkflowIdReusePolicy workflowIdReusePolicy;
+ private String signalName;
+ private byte[] signalInput;
+ private byte[] control;
+ private RetryPolicy retryPolicy;
+ private String cronSchedule;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private Header header;
+ private int delayStartSeconds;
+ private int jitterStartSeconds;
+}
diff --git a/.gen/com/uber/cadence/entities/SignalWorkflowExecutionRequest.java b/.gen/com/uber/cadence/entities/SignalWorkflowExecutionRequest.java
new file mode 100644
index 000000000..574ff04f7
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SignalWorkflowExecutionRequest.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SignalWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String signalName;
+ private byte[] input;
+ private String identity;
+ private String requestId;
+ private byte[] control;
+}
diff --git a/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionDecisionAttributes.java b/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..c620aa74c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartChildWorkflowExecutionDecisionAttributes {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private ParentClosePolicy parentClosePolicy;
+ private byte[] control;
+ private WorkflowIdReusePolicy workflowIdReusePolicy;
+ private RetryPolicy retryPolicy;
+ private String cronSchedule;
+ private Header header;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+}
diff --git a/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionFailedEventAttributes.java b/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..0b9d9c550
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartChildWorkflowExecutionFailedEventAttributes {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private ChildWorkflowExecutionFailedCause cause;
+ private byte[] control;
+ private long initiatedEventId;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionInitiatedEventAttributes.java b/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionInitiatedEventAttributes.java
new file mode 100644
index 000000000..145306b09
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartChildWorkflowExecutionInitiatedEventAttributes.java
@@ -0,0 +1,50 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartChildWorkflowExecutionInitiatedEventAttributes {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private ParentClosePolicy parentClosePolicy;
+ private byte[] control;
+ private long decisionTaskCompletedEventId;
+ private WorkflowIdReusePolicy workflowIdReusePolicy;
+ private RetryPolicy retryPolicy;
+ private String cronSchedule;
+ private Header header;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private int delayStartSeconds;
+ private int jitterStartSeconds;
+}
diff --git a/.gen/com/uber/cadence/entities/StartTimeFilter.java b/.gen/com/uber/cadence/entities/StartTimeFilter.java
new file mode 100644
index 000000000..858a2437a
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartTimeFilter.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartTimeFilter {
+ private long earliestTime;
+ private long latestTime;
+}
diff --git a/.gen/com/uber/cadence/entities/StartTimerDecisionAttributes.java b/.gen/com/uber/cadence/entities/StartTimerDecisionAttributes.java
new file mode 100644
index 000000000..b807d6154
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartTimerDecisionAttributes.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartTimerDecisionAttributes {
+ private String timerId;
+ private long startToFireTimeoutSeconds;
+}
diff --git a/.gen/com/uber/cadence/entities/StartWorkflowExecutionAsyncRequest.java b/.gen/com/uber/cadence/entities/StartWorkflowExecutionAsyncRequest.java
new file mode 100644
index 000000000..4acda2abe
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartWorkflowExecutionAsyncRequest.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartWorkflowExecutionAsyncRequest {
+ private StartWorkflowExecutionRequest request;
+}
diff --git a/.gen/com/uber/cadence/entities/StartWorkflowExecutionAsyncResponse.java b/.gen/com/uber/cadence/entities/StartWorkflowExecutionAsyncResponse.java
new file mode 100644
index 000000000..8eefe3042
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartWorkflowExecutionAsyncResponse.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartWorkflowExecutionAsyncResponse {}
diff --git a/.gen/com/uber/cadence/entities/StartWorkflowExecutionRequest.java b/.gen/com/uber/cadence/entities/StartWorkflowExecutionRequest.java
new file mode 100644
index 000000000..1a77b0d6c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartWorkflowExecutionRequest.java
@@ -0,0 +1,49 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartWorkflowExecutionRequest {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private String identity;
+ private String requestId;
+ private WorkflowIdReusePolicy workflowIdReusePolicy;
+ private RetryPolicy retryPolicy;
+ private String cronSchedule;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private Header header;
+ private int delayStartSeconds;
+ private int jitterStartSeconds;
+}
diff --git a/.gen/com/uber/cadence/entities/StartWorkflowExecutionResponse.java b/.gen/com/uber/cadence/entities/StartWorkflowExecutionResponse.java
new file mode 100644
index 000000000..01d47cfd7
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StartWorkflowExecutionResponse.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StartWorkflowExecutionResponse {
+ private String runId;
+}
diff --git a/.gen/com/uber/cadence/entities/StickyExecutionAttributes.java b/.gen/com/uber/cadence/entities/StickyExecutionAttributes.java
new file mode 100644
index 000000000..a8c1241d5
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StickyExecutionAttributes.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class StickyExecutionAttributes {
+ private TaskList workerTaskList;
+ private int scheduleToStartTimeoutSeconds;
+}
diff --git a/.gen/com/uber/cadence/entities/StickyWorkerUnavailableError.java b/.gen/com/uber/cadence/entities/StickyWorkerUnavailableError.java
new file mode 100644
index 000000000..9c711ca51
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/StickyWorkerUnavailableError.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class StickyWorkerUnavailableError extends BaseError {
+
+ public StickyWorkerUnavailableError() {
+ super();
+ }
+
+ public StickyWorkerUnavailableError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public StickyWorkerUnavailableError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/SupportedClientVersions.java b/.gen/com/uber/cadence/entities/SupportedClientVersions.java
new file mode 100644
index 000000000..f6f093be3
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/SupportedClientVersions.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class SupportedClientVersions {
+ private String goSdk;
+ private String javaSdk;
+}
diff --git a/.gen/com/uber/cadence/entities/TaskIDBlock.java b/.gen/com/uber/cadence/entities/TaskIDBlock.java
new file mode 100644
index 000000000..7d2028c17
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TaskIDBlock.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TaskIDBlock {
+ private long startID;
+ private long endID;
+}
diff --git a/.gen/com/uber/cadence/entities/TaskList.java b/.gen/com/uber/cadence/entities/TaskList.java
new file mode 100644
index 000000000..af1c5ae0e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TaskList.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TaskList {
+ private String name;
+ private TaskListKind kind;
+}
diff --git a/.gen/com/uber/cadence/entities/TaskListKind.java b/.gen/com/uber/cadence/entities/TaskListKind.java
new file mode 100644
index 000000000..16384c325
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TaskListKind.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum TaskListKind {
+ NORMAL,
+ STICKY,
+}
diff --git a/.gen/com/uber/cadence/entities/TaskListMetadata.java b/.gen/com/uber/cadence/entities/TaskListMetadata.java
new file mode 100644
index 000000000..5bfa6a091
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TaskListMetadata.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TaskListMetadata {
+ private double maxTasksPerSecond;
+}
diff --git a/.gen/com/uber/cadence/entities/TaskListPartitionMetadata.java b/.gen/com/uber/cadence/entities/TaskListPartitionMetadata.java
new file mode 100644
index 000000000..f20905ed3
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TaskListPartitionMetadata.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TaskListPartitionMetadata {
+ private String key;
+ private String ownerHostName;
+}
diff --git a/.gen/com/uber/cadence/entities/TaskListStatus.java b/.gen/com/uber/cadence/entities/TaskListStatus.java
new file mode 100644
index 000000000..62526f570
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TaskListStatus.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TaskListStatus {
+ private long backlogCountHint;
+ private long readLevel;
+ private long ackLevel;
+ private double ratePerSecond;
+ private TaskIDBlock taskIDBlock;
+}
diff --git a/.gen/com/uber/cadence/entities/TaskListType.java b/.gen/com/uber/cadence/entities/TaskListType.java
new file mode 100644
index 000000000..334a8dc47
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TaskListType.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum TaskListType {
+ Decision,
+ Activity,
+}
diff --git a/.gen/com/uber/cadence/entities/TerminateWorkflowExecutionRequest.java b/.gen/com/uber/cadence/entities/TerminateWorkflowExecutionRequest.java
new file mode 100644
index 000000000..b81aa015b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TerminateWorkflowExecutionRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TerminateWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String reason;
+ private byte[] details;
+ private String identity;
+ private String firstExecutionRunID;
+}
diff --git a/.gen/com/uber/cadence/entities/TimeoutType.java b/.gen/com/uber/cadence/entities/TimeoutType.java
new file mode 100644
index 000000000..7957a665a
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TimeoutType.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum TimeoutType {
+ START_TO_CLOSE,
+ SCHEDULE_TO_START,
+ SCHEDULE_TO_CLOSE,
+ HEARTBEAT,
+}
diff --git a/.gen/com/uber/cadence/entities/TimerCanceledEventAttributes.java b/.gen/com/uber/cadence/entities/TimerCanceledEventAttributes.java
new file mode 100644
index 000000000..11792af39
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TimerCanceledEventAttributes.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TimerCanceledEventAttributes {
+ private String timerId;
+ private long startedEventId;
+ private long decisionTaskCompletedEventId;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/TimerFiredEventAttributes.java b/.gen/com/uber/cadence/entities/TimerFiredEventAttributes.java
new file mode 100644
index 000000000..87b2161e1
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TimerFiredEventAttributes.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TimerFiredEventAttributes {
+ private String timerId;
+ private long startedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/TimerStartedEventAttributes.java b/.gen/com/uber/cadence/entities/TimerStartedEventAttributes.java
new file mode 100644
index 000000000..d1333ec1d
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TimerStartedEventAttributes.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TimerStartedEventAttributes {
+ private String timerId;
+ private long startToFireTimeoutSeconds;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/TransientDecisionInfo.java b/.gen/com/uber/cadence/entities/TransientDecisionInfo.java
new file mode 100644
index 000000000..e4eccd11b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/TransientDecisionInfo.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class TransientDecisionInfo {
+ private HistoryEvent scheduledEvent;
+ private HistoryEvent startedEvent;
+}
diff --git a/.gen/com/uber/cadence/entities/UpdateDomainInfo.java b/.gen/com/uber/cadence/entities/UpdateDomainInfo.java
new file mode 100644
index 000000000..7a4757688
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/UpdateDomainInfo.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class UpdateDomainInfo {
+ private String description;
+ private String ownerEmail;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class UpdateDomainRequest {
+ private String name;
+ private UpdateDomainInfo updatedInfo;
+ private DomainConfiguration configuration;
+ private DomainReplicationConfiguration replicationConfiguration;
+ private String securityToken;
+ private String deleteBadBinary;
+ private int failoverTimeoutInSeconds;
+}
diff --git a/.gen/com/uber/cadence/entities/UpdateDomainResponse.java b/.gen/com/uber/cadence/entities/UpdateDomainResponse.java
new file mode 100644
index 000000000..a8c386bfc
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/UpdateDomainResponse.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class UpdateDomainResponse {
+ private DomainInfo domainInfo;
+ private DomainConfiguration configuration;
+ private DomainReplicationConfiguration replicationConfiguration;
+ private long failoverVersion;
+ private boolean isGlobalDomain;
+}
diff --git a/.gen/com/uber/cadence/entities/UpsertWorkflowSearchAttributesDecisionAttributes.java b/.gen/com/uber/cadence/entities/UpsertWorkflowSearchAttributesDecisionAttributes.java
new file mode 100644
index 000000000..cb9af76e0
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/UpsertWorkflowSearchAttributesDecisionAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class UpsertWorkflowSearchAttributesDecisionAttributes {
+ private SearchAttributes searchAttributes;
+}
diff --git a/.gen/com/uber/cadence/entities/UpsertWorkflowSearchAttributesEventAttributes.java b/.gen/com/uber/cadence/entities/UpsertWorkflowSearchAttributesEventAttributes.java
new file mode 100644
index 000000000..3ed2b3b96
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/UpsertWorkflowSearchAttributesEventAttributes.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class UpsertWorkflowSearchAttributesEventAttributes {
+ private long decisionTaskCompletedEventId;
+ private SearchAttributes searchAttributes;
+}
diff --git a/.gen/com/uber/cadence/entities/VersionHistories.java b/.gen/com/uber/cadence/entities/VersionHistories.java
new file mode 100644
index 000000000..0cf8a7ff3
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/VersionHistories.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class VersionHistories {
+ private int currentVersionHistoryIndex;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class VersionHistory {
+ private byte[] branchToken;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class VersionHistoryItem {
+ private long eventID;
+ private long version;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkerVersionInfo.java b/.gen/com/uber/cadence/entities/WorkerVersionInfo.java
new file mode 100644
index 000000000..6038ee4e7
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkerVersionInfo.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkerVersionInfo {
+ private String impl;
+ private String featureVersion;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecution.java b/.gen/com/uber/cadence/entities/WorkflowExecution.java
new file mode 100644
index 000000000..bece219e9
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecution.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecution {
+ private String workflowId;
+ private String runId;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionAlreadyCompletedError.java b/.gen/com/uber/cadence/entities/WorkflowExecutionAlreadyCompletedError.java
new file mode 100644
index 000000000..e3246ccf3
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionAlreadyCompletedError.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+public class WorkflowExecutionAlreadyCompletedError extends BaseError {
+
+ public WorkflowExecutionAlreadyCompletedError() {
+ super();
+ }
+
+ public WorkflowExecutionAlreadyCompletedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public WorkflowExecutionAlreadyCompletedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionAlreadyStartedError.java b/.gen/com/uber/cadence/entities/WorkflowExecutionAlreadyStartedError.java
new file mode 100644
index 000000000..ce4b4e3d2
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionAlreadyStartedError.java
@@ -0,0 +1,50 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class WorkflowExecutionAlreadyStartedError extends BaseError {
+ private String startRequestId;
+ private String runId;
+
+ public WorkflowExecutionAlreadyStartedError() {
+ super();
+ }
+
+ public WorkflowExecutionAlreadyStartedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public WorkflowExecutionAlreadyStartedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionCancelRequestedEventAttributes.java b/.gen/com/uber/cadence/entities/WorkflowExecutionCancelRequestedEventAttributes.java
new file mode 100644
index 000000000..0829d892f
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionCancelRequestedEventAttributes.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionCancelRequestedEventAttributes {
+ private String cause;
+ private long externalInitiatedEventId;
+ private WorkflowExecution externalWorkflowExecution;
+ private String identity;
+ private String requestId;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionCanceledEventAttributes.java b/.gen/com/uber/cadence/entities/WorkflowExecutionCanceledEventAttributes.java
new file mode 100644
index 000000000..f267e02a1
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionCanceledEventAttributes.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionCanceledEventAttributes {
+ private long decisionTaskCompletedEventId;
+ private byte[] details;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionCloseStatus.java b/.gen/com/uber/cadence/entities/WorkflowExecutionCloseStatus.java
new file mode 100644
index 000000000..1fc84415e
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionCloseStatus.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum WorkflowExecutionCloseStatus {
+ COMPLETED,
+ FAILED,
+ CANCELED,
+ TERMINATED,
+ CONTINUED_AS_NEW,
+ TIMED_OUT,
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionCompletedEventAttributes.java b/.gen/com/uber/cadence/entities/WorkflowExecutionCompletedEventAttributes.java
new file mode 100644
index 000000000..9b00e5a67
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionCompletedEventAttributes.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionCompletedEventAttributes {
+ private byte[] result;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionConfiguration.java b/.gen/com/uber/cadence/entities/WorkflowExecutionConfiguration.java
new file mode 100644
index 000000000..8fbf37fe0
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionConfiguration.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionConfiguration {
+ private TaskList taskList;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionContinuedAsNewEventAttributes.java b/.gen/com/uber/cadence/entities/WorkflowExecutionContinuedAsNewEventAttributes.java
new file mode 100644
index 000000000..8c5befd1c
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionContinuedAsNewEventAttributes.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionContinuedAsNewEventAttributes {
+ private String newExecutionRunId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private long decisionTaskCompletedEventId;
+ private int backoffStartIntervalInSeconds;
+ private ContinueAsNewInitiator initiator;
+ private String failureReason;
+ private byte[] failureDetails;
+ private byte[] lastCompletionResult;
+ private Header header;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionFailedEventAttributes.java b/.gen/com/uber/cadence/entities/WorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..b54988a38
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionFailedEventAttributes {
+ private String reason;
+ private byte[] details;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionFilter.java b/.gen/com/uber/cadence/entities/WorkflowExecutionFilter.java
new file mode 100644
index 000000000..1cca49abb
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionFilter.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionFilter {
+ private String workflowId;
+ private String runId;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionInfo.java b/.gen/com/uber/cadence/entities/WorkflowExecutionInfo.java
new file mode 100644
index 000000000..ec9206782
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionInfo.java
@@ -0,0 +1,50 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionInfo {
+ private WorkflowExecution execution;
+ private WorkflowType type;
+ private long startTime;
+ private long closeTime;
+ private WorkflowExecutionCloseStatus closeStatus;
+ private long historyLength;
+ private String parentDomainId;
+ private String parentDomainName;
+ private long parentInitatedId;
+ private WorkflowExecution parentExecution;
+ private long executionTime;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private ResetPoints autoResetPoints;
+ private String taskList;
+ private boolean isCron;
+ private long updateTime;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionSignaledEventAttributes {
+ private String signalName;
+ private byte[] input;
+ private String identity;
+ private String requestId;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionStartedEventAttributes.java b/.gen/com/uber/cadence/entities/WorkflowExecutionStartedEventAttributes.java
new file mode 100644
index 000000000..4d95ded35
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionStartedEventAttributes.java
@@ -0,0 +1,60 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionStartedEventAttributes {
+ private WorkflowType workflowType;
+ private String parentWorkflowDomain;
+ private WorkflowExecution parentWorkflowExecution;
+ private long parentInitiatedEventId;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private String continuedExecutionRunId;
+ private ContinueAsNewInitiator initiator;
+ private String continuedFailureReason;
+ private byte[] continuedFailureDetails;
+ private byte[] lastCompletionResult;
+ private String originalExecutionRunId;
+ private String identity;
+ private String firstExecutionRunId;
+ private long firstScheduledTimeNano;
+ private RetryPolicy retryPolicy;
+ private int attempt;
+ private long expirationTimestamp;
+ private String cronSchedule;
+ private int firstDecisionTaskBackoffSeconds;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private ResetPoints prevAutoResetPoints;
+ private Header header;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionTerminatedEventAttributes {
+ private String reason;
+ private byte[] details;
+ private String identity;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowExecutionTimedOutEventAttributes.java b/.gen/com/uber/cadence/entities/WorkflowExecutionTimedOutEventAttributes.java
new file mode 100644
index 000000000..51eef95bc
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowExecutionTimedOutEventAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionTimedOutEventAttributes {
+ private TimeoutType timeoutType;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowIdReusePolicy.java b/.gen/com/uber/cadence/entities/WorkflowIdReusePolicy.java
new file mode 100644
index 000000000..239a45a94
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowIdReusePolicy.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+public enum WorkflowIdReusePolicy {
+ AllowDuplicateFailedOnly,
+ AllowDuplicate,
+ RejectDuplicate,
+ TerminateIfRunning,
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowQuery.java b/.gen/com/uber/cadence/entities/WorkflowQuery.java
new file mode 100644
index 000000000..91287e676
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowQuery.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowQuery {
+ private String queryType;
+ private byte[] queryArgs;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowQueryResult.java b/.gen/com/uber/cadence/entities/WorkflowQueryResult.java
new file mode 100644
index 000000000..d598717b8
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowQueryResult.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowQueryResult {
+ private QueryResultType resultType;
+ private byte[] answer;
+ private String errorMessage;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowType.java b/.gen/com/uber/cadence/entities/WorkflowType.java
new file mode 100644
index 000000000..b0f36a87b
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowType.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowType {
+ private String name;
+}
diff --git a/.gen/com/uber/cadence/entities/WorkflowTypeFilter.java b/.gen/com/uber/cadence/entities/WorkflowTypeFilter.java
new file mode 100644
index 000000000..509b9c523
--- /dev/null
+++ b/.gen/com/uber/cadence/entities/WorkflowTypeFilter.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+/**
+ * DO NOT EDIT THIS FILE.
+ *
+ * This file is generated by cadence-idl custom generator for simple java entity
+ *
+ * If you want to change the code, please modify the generator.
+ * https://github.com/cadence-workflow/cadence-idl/tree/main/java/thrift/generator
+ */
+@Data
+@Accessors(chain = true)
+public class WorkflowTypeFilter {
+ private String name;
+}
diff --git a/build.gradle b/build.gradle
index 22dc4466f..028834d6d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,7 +44,7 @@ googleJavaFormat {
exclude '**/generated-sources/*'
}
-tasks.googleJavaFormat.dependsOn 'license'
+tasks.googleJavaFormat.dependsOn 'licenseFormat'
group = 'com.uber.cadence'
@@ -89,6 +89,10 @@ dependencies {
compile group: 'com.google.api.grpc', name: 'proto-google-common-protos', version: '2.10.0'
compile group: 'com.google.protobuf', name: 'protobuf-java-util', version: '3.21.9'
compile group: 'com.google.oauth-client', name: 'google-oauth-client', version: '1.35.0'
+ compileOnly 'org.projectlombok:lombok:1.18.30'
+ annotationProcessor 'org.projectlombok:lombok:1.18.30'
+ testCompileOnly 'org.projectlombok:lombok:1.18.30'
+ testAnnotationProcessor 'org.projectlombok:lombok:1.18.30'
implementation 'io.grpc:grpc-netty-shaded:1.54.2'
implementation 'io.grpc:grpc-protobuf:1.54.2'
@@ -139,6 +143,7 @@ sourceSets {
}
java {
srcDir 'src/main'
+ srcDir 'src/gen/java'
}
}
}
diff --git a/scripts/v4_entity_generator/generator.go b/scripts/v4_entity_generator/generator.go
new file mode 100644
index 000000000..d6f37373c
--- /dev/null
+++ b/scripts/v4_entity_generator/generator.go
@@ -0,0 +1,304 @@
+package main
+
+import (
+ "fmt"
+ "log"
+ "os"
+ "strings"
+ "sync"
+ "text/template"
+
+ "go.uber.org/thriftrw/ast"
+ "go.uber.org/thriftrw/idl"
+)
+
+const (
+ baseExceptionClassName = "BaseError"
+)
+
+type Field struct {
+ Name string
+ Type string
+}
+
+type TemplateEntity struct {
+ PackageName string
+ ClassName string
+ Fields []Field
+}
+
+type TemplateEnum struct {
+ PackageName string
+ ClassName string
+ Fields []string
+}
+
+type TemplateException struct {
+ PackageName string
+ ClassName string
+ Fields []Field
+ BaseExceptionClassName string
+}
+
+type TemplateBaseException struct {
+ PackageName string
+ ClassName string
+}
+
+type Generator struct {
+ tmplStruct *template.Template
+ tmplEnum *template.Template
+ tmplException *template.Template
+ tmplBaseException *template.Template
+ log *log.Logger
+}
+
+func NewGenerator() *Generator {
+ return &Generator{
+ tmplStruct: template.Must(template.ParseFiles("./template/java_struct.tmpl")),
+ tmplEnum: template.Must(template.ParseFiles("./template/java_enum.tmpl")),
+ tmplException: template.Must(template.ParseFiles("./template/java_exception.tmpl")),
+ tmplBaseException: template.Must(template.ParseFiles("./template/java_base_exception.tmpl")),
+ log: log.New(os.Stdout, "", log.LstdFlags),
+ }
+}
+
+func (g *Generator) Generate(input string, outputDir string, packageNameOverride string) error {
+ config := &idl.Config{}
+
+ content, err := os.ReadFile(input)
+ if err != nil {
+ return fmt.Errorf("failed to read file: %w", err)
+ }
+
+ program, err := config.Parse(content)
+ if err != nil {
+ return fmt.Errorf("failed to parse file: %w", err)
+ }
+
+ packageName := packageNameOverride
+ if packageName == "" {
+ packageName, err = getPackageName(program)
+ if err != nil {
+ return fmt.Errorf("failed to get package name: %w", err)
+ }
+ }
+ outputDir = fmt.Sprintf("%s/%s", outputDir, strings.ReplaceAll(packageName, ".", "/"))
+
+ err = os.MkdirAll(outputDir, 0755)
+ if err != nil {
+ return fmt.Errorf("failed to create output directory: %w", err)
+ }
+
+ ast.Walk(ast.VisitorFunc(func(w ast.Walker, n ast.Node) {
+ var err error
+ switch v:=n.(type) {
+ case *ast.Struct:
+ switch v.Type {
+ case ast.ExceptionType:
+ err = g.generateException(v, outputDir, packageName)
+ case ast.StructType:
+ err = g.generateStruct(v, outputDir, packageName)
+ }
+ case *ast.Enum:
+ err = g.generateEnum(v, outputDir, packageName)
+ }
+ if err != nil {
+ g.log.Fatalf("failed to generate: %v", err)
+ }
+ }), program)
+ return nil
+}
+
+func (g *Generator) generateStruct(v *ast.Struct, outputDir string, packageName string) error {
+ fields := make([]Field, 0)
+ for _, field := range v.Fields {
+ typeStr, err := typeMapper(field.Type, true)
+ if err != nil {
+ return fmt.Errorf("failed to map field type: %w", err)
+ }
+
+ fields = append(fields, Field{
+ Name: field.Name,
+ Type: typeStr,
+ })
+ }
+
+ data := TemplateEntity{
+ PackageName: packageName,
+ ClassName: v.Name,
+ Fields: fields,
+ }
+
+ outputFile := fmt.Sprintf("%s/%s.java", outputDir, v.Name)
+ f, err := os.Create(outputFile)
+ if err != nil {
+ return fmt.Errorf("failed to create file: %w", err)
+ }
+ defer f.Close()
+
+ if err := g.tmplStruct.Execute(f, data); err != nil {
+
+ return fmt.Errorf("failed to execute template: %w", err)
+ }
+
+ return nil
+}
+
+func (g *Generator) generateException(v *ast.Struct, outputDir string, packageName string) error {
+ var once sync.Once
+ once.Do(func(){
+ err := g.generateBaseException(baseExceptionClassName, outputDir, packageName)
+ if err != nil {
+ g.log.Fatalf("failed to generate base exception: %v", err)
+ }
+ })
+
+ fields := make([]Field, 0)
+ for _, field := range v.Fields {
+ if field.Name == "message" { // skip on message field, it is already in the base exception
+ continue
+ }
+ typeStr, err := typeMapper(field.Type, true)
+ if err != nil {
+ return fmt.Errorf("failed to map field type: %w", err)
+ }
+ fields = append(fields, Field{
+ Name: field.Name,
+ Type: typeStr,
+ })
+ }
+
+ data := TemplateException{
+ PackageName: packageName,
+ ClassName: v.Name,
+ Fields: fields,
+ BaseExceptionClassName: baseExceptionClassName,
+ }
+
+ outputFile := fmt.Sprintf("%s/%s.java", outputDir, v.Name)
+ f, err := os.Create(outputFile)
+ if err != nil {
+ return fmt.Errorf("failed to create file: %w", err)
+ }
+ defer f.Close()
+
+ if err := g.tmplException.Execute(f, data); err != nil {
+ return fmt.Errorf("failed to execute template: %w", err)
+ }
+ return nil
+}
+
+func (g *Generator) generateBaseException(className string, outputDir string, packageName string) error {
+ data := TemplateBaseException{
+ PackageName: packageName,
+ ClassName: className,
+ }
+
+ outputFile := fmt.Sprintf("%s/%s.java", outputDir, className)
+ f, err := os.Create(outputFile)
+ if err != nil {
+ return fmt.Errorf("failed to create file: %w", err)
+ }
+ defer f.Close()
+
+ if err := g.tmplBaseException.Execute(f, data); err != nil {
+ return fmt.Errorf("failed to execute template: %w", err)
+ }
+ return nil
+}
+
+func (g *Generator) generateEnum(v *ast.Enum, outputDir string, packageName string) error {
+ data := TemplateEnum{
+ PackageName: packageName,
+ ClassName: v.Name,
+ }
+ for _, item := range v.Items {
+ data.Fields = append(data.Fields, item.Name)
+ }
+
+ outputFile := fmt.Sprintf("%s/%s.java", outputDir, v.Name)
+ f, err := os.Create(outputFile)
+ if err != nil {
+ return fmt.Errorf("failed to create file: %w", err)
+ }
+ defer f.Close()
+
+ if err := g.tmplEnum.Execute(f, data); err != nil {
+ return fmt.Errorf("failed to execute template: %w", err)
+ }
+ return nil
+}
+
+func getPackageName(program *ast.Program) (string, error) {
+ for _, header := range program.Headers {
+ if header, ok := header.(*ast.Namespace); ok && header.Scope == "java" {
+ return header.Name, nil
+ }
+ }
+ return "", fmt.Errorf("cannot find package name in the thrift file")
+}
+
+func typeMapper(t ast.Type, usePrimitive bool) (string, error) {
+ switch tt :=t.(type) {
+ case ast.BaseType:
+ return baseTypeMapper(tt, usePrimitive)
+ case ast.MapType:
+ keyType, err := typeMapper(tt.KeyType, false)
+ if err != nil {
+ return "", fmt.Errorf("failed to map key type: %w", err)
+ }
+ valueType, err := typeMapper(tt.ValueType, false)
+ if err != nil {
+ return "", fmt.Errorf("failed to map value type: %w", err)
+ }
+ return "Map<" + keyType + ", " + valueType + ">", nil
+ case ast.ListType:
+ valueType, err := typeMapper(tt.ValueType, false)
+ if err != nil {
+ return "", fmt.Errorf("failed to map value type: %w", err)
+ }
+ return "List<" + valueType + ">", nil
+ case ast.SetType:
+ valueType, err := typeMapper(tt.ValueType, false)
+ if err != nil {
+ return "", fmt.Errorf("failed to map value type: %w", err)
+ }
+ return "Set<" + valueType + ">", nil
+ case ast.TypeReference:
+ return tt.Name, nil
+ default:
+ return "", fmt.Errorf("do not support type: %v", tt)
+ }
+}
+
+func baseTypeMapper(t ast.BaseType, usePrimitive bool) (string, error) {
+ switch t.ID {
+ case ast.BoolTypeID:
+ if usePrimitive {
+ return "boolean", nil
+ }
+ return "Boolean", nil
+ case ast.I8TypeID, ast.I16TypeID, ast.I32TypeID:
+ if usePrimitive {
+ return "int", nil
+ }
+ return "Integer", nil
+ case ast.I64TypeID:
+ if usePrimitive {
+ return "long", nil
+ }
+ return "Long", nil
+ case ast.DoubleTypeID:
+ if usePrimitive {
+ return "double", nil
+ }
+ return "Double", nil
+ case ast.StringTypeID:
+ return "String", nil
+ case ast.BinaryTypeID:
+ return "byte[]", nil
+ default:
+ return "", fmt.Errorf("unknown base type: %v", t.ID)
+ }
+}
diff --git a/scripts/v4_entity_generator/go.mod b/scripts/v4_entity_generator/go.mod
new file mode 100644
index 000000000..6cc75868b
--- /dev/null
+++ b/scripts/v4_entity_generator/go.mod
@@ -0,0 +1,5 @@
+module github.com/uber/cadence-idl/java/generator
+
+go 1.18
+
+require go.uber.org/thriftrw v1.32.0
diff --git a/scripts/v4_entity_generator/go.sum b/scripts/v4_entity_generator/go.sum
new file mode 100644
index 000000000..c69fc06fd
--- /dev/null
+++ b/scripts/v4_entity_generator/go.sum
@@ -0,0 +1,10 @@
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
+github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
+github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
+github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
+go.uber.org/thriftrw v1.32.0 h1:/d9SS3H0V0lwm5cVcPI29V7EGDWHQQARGLYKeyhzRAM=
+go.uber.org/thriftrw v1.32.0/go.mod h1:MTXuf4RAB2SbjKgyvt7PF2SnuLJ8IYajpg8yBo3rEUI=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
diff --git a/scripts/v4_entity_generator/main.go b/scripts/v4_entity_generator/main.go
new file mode 100644
index 000000000..5801c63fb
--- /dev/null
+++ b/scripts/v4_entity_generator/main.go
@@ -0,0 +1,9 @@
+package main
+
+import "fmt"
+
+func main() {
+ if err := NewGenerator().Generate("../../src/main/idls/thrift/shared.thrift", "../../src/gen/java", "com.uber.cadence.entities"); err != nil {
+ panic(fmt.Sprintf("failed to generate: %v", err))
+ }
+}
diff --git a/scripts/v4_entity_generator/template/java_base_exception.tmpl b/scripts/v4_entity_generator/template/java_base_exception.tmpl
new file mode 100644
index 000000000..97c8525fb
--- /dev/null
+++ b/scripts/v4_entity_generator/template/java_base_exception.tmpl
@@ -0,0 +1,19 @@
+package {{.PackageName}};
+
+public class {{.ClassName}} extends RuntimeException {
+ public {{.ClassName}}() {
+ super();
+ }
+
+ public {{.ClassName}}(String message) {
+ super(message);
+ }
+
+ public {{.ClassName}}(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public {{.ClassName}}(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/scripts/v4_entity_generator/template/java_enum.tmpl b/scripts/v4_entity_generator/template/java_enum.tmpl
new file mode 100644
index 000000000..aae6928dc
--- /dev/null
+++ b/scripts/v4_entity_generator/template/java_enum.tmpl
@@ -0,0 +1,7 @@
+package {{.PackageName}};
+
+public enum {{.ClassName}} {
+ {{- range .Fields}}
+ {{.}},
+ {{- end}}
+}
diff --git a/scripts/v4_entity_generator/template/java_exception.tmpl b/scripts/v4_entity_generator/template/java_exception.tmpl
new file mode 100644
index 000000000..55d7f62cb
--- /dev/null
+++ b/scripts/v4_entity_generator/template/java_exception.tmpl
@@ -0,0 +1,29 @@
+package {{.PackageName}};
+
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+import lombok.AllArgsConstructor;
+import java.util.*;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+{{- if .Fields}}@AllArgsConstructor{{- end}}
+public class {{.ClassName}} extends {{.BaseExceptionClassName}} {
+ {{- range .Fields}}
+ private {{.Type}} {{.Name}};
+ {{- end}}
+
+ public {{.ClassName}}() {
+ super();
+ }
+
+ public {{.ClassName}}(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public {{.ClassName}}(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/scripts/v4_entity_generator/template/java_struct.tmpl b/scripts/v4_entity_generator/template/java_struct.tmpl
new file mode 100644
index 000000000..a99a60a2f
--- /dev/null
+++ b/scripts/v4_entity_generator/template/java_struct.tmpl
@@ -0,0 +1,13 @@
+package {{.PackageName}};
+
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.util.*;
+
+@Data
+@Accessors(chain = true)
+public class {{.ClassName}} {
+ {{- range .Fields}}
+ private {{.Type}} {{.Name}};
+ {{- end}}
+}
diff --git a/src/gen/java/com/uber/cadence/entities/AccessDeniedError.java b/src/gen/java/com/uber/cadence/entities/AccessDeniedError.java
new file mode 100644
index 000000000..66f62abc7
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/AccessDeniedError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class AccessDeniedError extends BaseError {
+
+ public AccessDeniedError() {
+ super();
+ }
+
+ public AccessDeniedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public AccessDeniedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityLocalDispatchInfo.java b/src/gen/java/com/uber/cadence/entities/ActivityLocalDispatchInfo.java
new file mode 100644
index 000000000..30f4b5a6f
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityLocalDispatchInfo.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityLocalDispatchInfo {
+ private String activityId;
+ private long scheduledTimestamp;
+ private long startedTimestamp;
+ private long scheduledTimestampOfThisAttempt;
+ private byte[] taskToken;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityTaskCancelRequestedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ActivityTaskCancelRequestedEventAttributes.java
new file mode 100644
index 000000000..04525b3eb
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityTaskCancelRequestedEventAttributes.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityTaskCancelRequestedEventAttributes {
+ private String activityId;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityTaskCanceledEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ActivityTaskCanceledEventAttributes.java
new file mode 100644
index 000000000..293153ebe
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityTaskCanceledEventAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityTaskCanceledEventAttributes {
+ private byte[] details;
+ private long latestCancelRequestedEventId;
+ private long scheduledEventId;
+ private long startedEventId;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityTaskCompletedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ActivityTaskCompletedEventAttributes.java
new file mode 100644
index 000000000..ef55f7942
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityTaskCompletedEventAttributes.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityTaskCompletedEventAttributes {
+ private byte[] result;
+ private long scheduledEventId;
+ private long startedEventId;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityTaskFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ActivityTaskFailedEventAttributes.java
new file mode 100644
index 000000000..c44b6a87f
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityTaskFailedEventAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityTaskFailedEventAttributes {
+ private String reason;
+ private byte[] details;
+ private long scheduledEventId;
+ private long startedEventId;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityTaskScheduledEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ActivityTaskScheduledEventAttributes.java
new file mode 100644
index 000000000..102cb9a79
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityTaskScheduledEventAttributes.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityTaskScheduledEventAttributes {
+ private String activityId;
+ private ActivityType activityType;
+ private String domain;
+ private TaskList taskList;
+ private byte[] input;
+ private int scheduleToCloseTimeoutSeconds;
+ private int scheduleToStartTimeoutSeconds;
+ private int startToCloseTimeoutSeconds;
+ private int heartbeatTimeoutSeconds;
+ private long decisionTaskCompletedEventId;
+ private RetryPolicy retryPolicy;
+ private Header header;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityTaskStartedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ActivityTaskStartedEventAttributes.java
new file mode 100644
index 000000000..544afa33b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityTaskStartedEventAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityTaskStartedEventAttributes {
+ private long scheduledEventId;
+ private String identity;
+ private String requestId;
+ private int attempt;
+ private String lastFailureReason;
+ private byte[] lastFailureDetails;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityTaskTimedOutEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ActivityTaskTimedOutEventAttributes.java
new file mode 100644
index 000000000..a3cac604d
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityTaskTimedOutEventAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityTaskTimedOutEventAttributes {
+ private byte[] details;
+ private long scheduledEventId;
+ private long startedEventId;
+ private TimeoutType timeoutType;
+ private String lastFailureReason;
+ private byte[] lastFailureDetails;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ActivityType.java b/src/gen/java/com/uber/cadence/entities/ActivityType.java
new file mode 100644
index 000000000..c6bda09c0
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ActivityType.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ActivityType {
+ private String name;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/Any.java b/src/gen/java/com/uber/cadence/entities/Any.java
new file mode 100644
index 000000000..0efcf3e1c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/Any.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class Any {
+ private String ValueType;
+ private byte[] Value;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyAttributes.java b/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyAttributes.java
new file mode 100644
index 000000000..c9ea85642
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyAttributes.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ApplyParentClosePolicyAttributes {
+ private String childDomainID;
+ private String childWorkflowID;
+ private String childRunID;
+ private ParentClosePolicy parentClosePolicy;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyRequest.java b/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyRequest.java
new file mode 100644
index 000000000..cbbbdf699
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyRequest.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ApplyParentClosePolicyRequest {
+ private ApplyParentClosePolicyAttributes child;
+ private ApplyParentClosePolicyStatus status;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyResult.java b/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyResult.java
new file mode 100644
index 000000000..d4f7bfd6b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyResult.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ApplyParentClosePolicyResult {
+ private ApplyParentClosePolicyAttributes child;
+ private CrossClusterTaskFailedCause failedCause;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyStatus.java b/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyStatus.java
new file mode 100644
index 000000000..346e1e44c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ApplyParentClosePolicyStatus.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ApplyParentClosePolicyStatus {
+ private boolean completed;
+ private CrossClusterTaskFailedCause failedCause;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ArchivalStatus.java b/src/gen/java/com/uber/cadence/entities/ArchivalStatus.java
new file mode 100644
index 000000000..36f862289
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ArchivalStatus.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum ArchivalStatus {
+ DISABLED,
+ ENABLED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/AsyncWorkflowConfiguration.java b/src/gen/java/com/uber/cadence/entities/AsyncWorkflowConfiguration.java
new file mode 100644
index 000000000..16df639a9
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/AsyncWorkflowConfiguration.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class AsyncWorkflowConfiguration {
+ private boolean enabled;
+ private String predefinedQueueName;
+ private String queueType;
+ private DataBlob queueConfig;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/BadBinaries.java b/src/gen/java/com/uber/cadence/entities/BadBinaries.java
new file mode 100644
index 000000000..57acb8ea4
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/BadBinaries.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class BadBinaries {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class BadBinaryInfo {
+ private String reason;
+ private String operator;
+ private long createdTimeNano;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/BadRequestError.java b/src/gen/java/com/uber/cadence/entities/BadRequestError.java
new file mode 100644
index 000000000..18ca2b30e
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/BadRequestError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class BadRequestError extends BaseError {
+
+ public BadRequestError() {
+ super();
+ }
+
+ public BadRequestError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public BadRequestError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/BaseError.java b/src/gen/java/com/uber/cadence/entities/BaseError.java
new file mode 100644
index 000000000..618ac9807
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/BaseError.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public class BaseError extends RuntimeException {
+ public BaseError() {
+ super();
+ }
+
+ public BaseError(String message) {
+ super(message);
+ }
+
+ public BaseError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public BaseError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CancelExternalWorkflowExecutionFailedCause.java b/src/gen/java/com/uber/cadence/entities/CancelExternalWorkflowExecutionFailedCause.java
new file mode 100644
index 000000000..8fab794a0
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CancelExternalWorkflowExecutionFailedCause.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum CancelExternalWorkflowExecutionFailedCause {
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION,
+ WORKFLOW_ALREADY_COMPLETED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CancelTimerDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/CancelTimerDecisionAttributes.java
new file mode 100644
index 000000000..02f18aa26
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CancelTimerDecisionAttributes.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CancelTimerDecisionAttributes {
+ private String timerId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CancelTimerFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/CancelTimerFailedEventAttributes.java
new file mode 100644
index 000000000..eafa93f26
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CancelTimerFailedEventAttributes.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CancelTimerFailedEventAttributes {
+ private String timerId;
+ private String cause;
+ private long decisionTaskCompletedEventId;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CancelWorkflowExecutionDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/CancelWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..47b2167c3
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CancelWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CancelWorkflowExecutionDecisionAttributes {
+ private byte[] details;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CancellationAlreadyRequestedError.java b/src/gen/java/com/uber/cadence/entities/CancellationAlreadyRequestedError.java
new file mode 100644
index 000000000..9905f150f
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CancellationAlreadyRequestedError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class CancellationAlreadyRequestedError extends BaseError {
+
+ public CancellationAlreadyRequestedError() {
+ super();
+ }
+
+ public CancellationAlreadyRequestedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public CancellationAlreadyRequestedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionCanceledEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionCanceledEventAttributes.java
new file mode 100644
index 000000000..ad3a8ee43
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionCanceledEventAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionCanceledEventAttributes {
+ private byte[] details;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionCompletedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionCompletedEventAttributes.java
new file mode 100644
index 000000000..13df905c6
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionCompletedEventAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionCompletedEventAttributes {
+ private byte[] result;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionFailedCause.java b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionFailedCause.java
new file mode 100644
index 000000000..0bf1f8c1a
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionFailedCause.java
@@ -0,0 +1,19 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum ChildWorkflowExecutionFailedCause {
+ WORKFLOW_ALREADY_RUNNING,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..87a90275a
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionFailedEventAttributes {
+ private String reason;
+ private byte[] details;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionStartedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionStartedEventAttributes.java
new file mode 100644
index 000000000..068d77392
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionStartedEventAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionStartedEventAttributes {
+ private String domain;
+ private long initiatedEventId;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private Header header;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionTerminatedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionTerminatedEventAttributes.java
new file mode 100644
index 000000000..d20270413
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionTerminatedEventAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionTerminatedEventAttributes {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionTimedOutEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionTimedOutEventAttributes.java
new file mode 100644
index 000000000..3bc4c5c30
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ChildWorkflowExecutionTimedOutEventAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ChildWorkflowExecutionTimedOutEventAttributes {
+ private TimeoutType timeoutType;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long initiatedEventId;
+ private long startedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ClientVersionNotSupportedError.java b/src/gen/java/com/uber/cadence/entities/ClientVersionNotSupportedError.java
new file mode 100644
index 000000000..1dc30fb56
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ClientVersionNotSupportedError.java
@@ -0,0 +1,43 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class ClientVersionNotSupportedError extends BaseError {
+ private String featureVersion;
+ private String clientImpl;
+ private String supportedVersions;
+
+ public ClientVersionNotSupportedError() {
+ super();
+ }
+
+ public ClientVersionNotSupportedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public ClientVersionNotSupportedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CloseShardRequest.java b/src/gen/java/com/uber/cadence/entities/CloseShardRequest.java
new file mode 100644
index 000000000..1f102d3ee
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CloseShardRequest.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CloseShardRequest {
+ private int shardID;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ClusterInfo.java b/src/gen/java/com/uber/cadence/entities/ClusterInfo.java
new file mode 100644
index 000000000..aa7d66da3
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ClusterInfo.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ClusterInfo {
+ private SupportedClientVersions supportedClientVersions;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ClusterReplicationConfiguration.java b/src/gen/java/com/uber/cadence/entities/ClusterReplicationConfiguration.java
new file mode 100644
index 000000000..d3e010434
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ClusterReplicationConfiguration.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ClusterReplicationConfiguration {
+ private String clusterName;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CompleteWorkflowExecutionDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/CompleteWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..f706284ba
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CompleteWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CompleteWorkflowExecutionDecisionAttributes {
+ private byte[] result;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ContinueAsNewInitiator.java b/src/gen/java/com/uber/cadence/entities/ContinueAsNewInitiator.java
new file mode 100644
index 000000000..1a974b6a9
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ContinueAsNewInitiator.java
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum ContinueAsNewInitiator {
+ Decider,
+ RetryPolicy,
+ CronSchedule,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ContinueAsNewWorkflowExecutionDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/ContinueAsNewWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..d5992fb9b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ContinueAsNewWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,40 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ContinueAsNewWorkflowExecutionDecisionAttributes {
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private int backoffStartIntervalInSeconds;
+ private RetryPolicy retryPolicy;
+ private ContinueAsNewInitiator initiator;
+ private String failureReason;
+ private byte[] failureDetails;
+ private byte[] lastCompletionResult;
+ private String cronSchedule;
+ private Header header;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private int jitterStartSeconds;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CountWorkflowExecutionsRequest.java b/src/gen/java/com/uber/cadence/entities/CountWorkflowExecutionsRequest.java
new file mode 100644
index 000000000..f0f1567a0
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CountWorkflowExecutionsRequest.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CountWorkflowExecutionsRequest {
+ private String domain;
+ private String query;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CountWorkflowExecutionsResponse.java b/src/gen/java/com/uber/cadence/entities/CountWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..330537c2b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CountWorkflowExecutionsResponse.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CountWorkflowExecutionsResponse {
+ private long count;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterApplyParentClosePolicyRequestAttributes.java b/src/gen/java/com/uber/cadence/entities/CrossClusterApplyParentClosePolicyRequestAttributes.java
new file mode 100644
index 000000000..4b46d3556
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterApplyParentClosePolicyRequestAttributes.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterApplyParentClosePolicyRequestAttributes {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterApplyParentClosePolicyResponseAttributes {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterCancelExecutionRequestAttributes {
+ private String targetDomainID;
+ private String targetWorkflowID;
+ private String targetRunID;
+ private String requestID;
+ private long initiatedEventID;
+ private boolean childWorkflowOnly;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterCancelExecutionResponseAttributes.java b/src/gen/java/com/uber/cadence/entities/CrossClusterCancelExecutionResponseAttributes.java
new file mode 100644
index 000000000..771c9376d
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterCancelExecutionResponseAttributes.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterCancelExecutionResponseAttributes {}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.java b/src/gen/java/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.java
new file mode 100644
index 000000000..e828bd576
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes {
+ private String targetDomainID;
+ private String targetWorkflowID;
+ private String targetRunID;
+ private long initiatedEventID;
+ private HistoryEvent completionEvent;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes.java b/src/gen/java/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes.java
new file mode 100644
index 000000000..cb1fdb3de
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes {}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterSignalExecutionRequestAttributes.java b/src/gen/java/com/uber/cadence/entities/CrossClusterSignalExecutionRequestAttributes.java
new file mode 100644
index 000000000..a1f983f15
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterSignalExecutionRequestAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterSignalExecutionRequestAttributes {
+ private String targetDomainID;
+ private String targetWorkflowID;
+ private String targetRunID;
+ private String requestID;
+ private long initiatedEventID;
+ private boolean childWorkflowOnly;
+ private String signalName;
+ private byte[] signalInput;
+ private byte[] control;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterSignalExecutionResponseAttributes.java b/src/gen/java/com/uber/cadence/entities/CrossClusterSignalExecutionResponseAttributes.java
new file mode 100644
index 000000000..3e6ef49d3
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterSignalExecutionResponseAttributes.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterSignalExecutionResponseAttributes {}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterStartChildExecutionRequestAttributes.java b/src/gen/java/com/uber/cadence/entities/CrossClusterStartChildExecutionRequestAttributes.java
new file mode 100644
index 000000000..303729c3c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterStartChildExecutionRequestAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterStartChildExecutionRequestAttributes {
+ private String targetDomainID;
+ private String requestID;
+ private long initiatedEventID;
+ private StartChildWorkflowExecutionInitiatedEventAttributes initiatedEventAttributes;
+ private String targetRunID;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterStartChildExecutionResponseAttributes {
+ private String runID;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterTaskFailedCause.java b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskFailedCause.java
new file mode 100644
index 000000000..3e4cc3126
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskFailedCause.java
@@ -0,0 +1,24 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum CrossClusterTaskFailedCause {
+ DOMAIN_NOT_ACTIVE,
+ DOMAIN_NOT_EXISTS,
+ WORKFLOW_ALREADY_RUNNING,
+ WORKFLOW_NOT_EXISTS,
+ WORKFLOW_ALREADY_COMPLETED,
+ UNCATEGORIZED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterTaskInfo.java b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskInfo.java
new file mode 100644
index 000000000..a56d7818e
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskInfo.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterTaskInfo {
+ private String domainID;
+ private String workflowID;
+ private String runID;
+ private CrossClusterTaskType taskType;
+ private int taskState;
+ private long taskID;
+ private long visibilityTimestamp;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterTaskRequest.java b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskRequest.java
new file mode 100644
index 000000000..ec010c2d7
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskRequest.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterTaskRequest {
+ private CrossClusterTaskInfo taskInfo;
+ private CrossClusterStartChildExecutionRequestAttributes startChildExecutionAttributes;
+ private CrossClusterCancelExecutionRequestAttributes cancelExecutionAttributes;
+ private CrossClusterSignalExecutionRequestAttributes signalExecutionAttributes;
+ private CrossClusterRecordChildWorkflowExecutionCompleteRequestAttributes
+ recordChildWorkflowExecutionCompleteAttributes;
+ private CrossClusterApplyParentClosePolicyRequestAttributes applyParentClosePolicyAttributes;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterTaskResponse.java b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskResponse.java
new file mode 100644
index 000000000..6dae1f0a3
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class CrossClusterTaskResponse {
+ private long taskID;
+ private CrossClusterTaskType taskType;
+ private int taskState;
+ private CrossClusterTaskFailedCause failedCause;
+ private CrossClusterStartChildExecutionResponseAttributes startChildExecutionAttributes;
+ private CrossClusterCancelExecutionResponseAttributes cancelExecutionAttributes;
+ private CrossClusterSignalExecutionResponseAttributes signalExecutionAttributes;
+ private CrossClusterRecordChildWorkflowExecutionCompleteResponseAttributes
+ recordChildWorkflowExecutionCompleteAttributes;
+ private CrossClusterApplyParentClosePolicyResponseAttributes applyParentClosePolicyAttributes;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CrossClusterTaskType.java b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskType.java
new file mode 100644
index 000000000..e56e4f182
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CrossClusterTaskType.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum CrossClusterTaskType {
+ StartChildExecution,
+ CancelExecution,
+ SignalExecution,
+ RecordChildWorkflowExecutionComplete,
+ ApplyParentClosePolicy,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/CurrentBranchChangedError.java b/src/gen/java/com/uber/cadence/entities/CurrentBranchChangedError.java
new file mode 100644
index 000000000..eab2555da
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/CurrentBranchChangedError.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class CurrentBranchChangedError extends BaseError {
+ private byte[] currentBranchToken;
+
+ public CurrentBranchChangedError() {
+ super();
+ }
+
+ public CurrentBranchChangedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public CurrentBranchChangedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DataBlob.java b/src/gen/java/com/uber/cadence/entities/DataBlob.java
new file mode 100644
index 000000000..9573fdfdf
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DataBlob.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DataBlob {
+ private EncodingType EncodingType;
+ private byte[] Data;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/Decision.java b/src/gen/java/com/uber/cadence/entities/Decision.java
new file mode 100644
index 000000000..43618195d
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/Decision.java
@@ -0,0 +1,43 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class Decision {
+ private DecisionType decisionType;
+ private ScheduleActivityTaskDecisionAttributes scheduleActivityTaskDecisionAttributes;
+ private StartTimerDecisionAttributes startTimerDecisionAttributes;
+ private CompleteWorkflowExecutionDecisionAttributes completeWorkflowExecutionDecisionAttributes;
+ private FailWorkflowExecutionDecisionAttributes failWorkflowExecutionDecisionAttributes;
+ private RequestCancelActivityTaskDecisionAttributes requestCancelActivityTaskDecisionAttributes;
+ private CancelTimerDecisionAttributes cancelTimerDecisionAttributes;
+ private CancelWorkflowExecutionDecisionAttributes cancelWorkflowExecutionDecisionAttributes;
+ private RequestCancelExternalWorkflowExecutionDecisionAttributes
+ requestCancelExternalWorkflowExecutionDecisionAttributes;
+ private RecordMarkerDecisionAttributes recordMarkerDecisionAttributes;
+ private ContinueAsNewWorkflowExecutionDecisionAttributes
+ continueAsNewWorkflowExecutionDecisionAttributes;
+ private StartChildWorkflowExecutionDecisionAttributes
+ startChildWorkflowExecutionDecisionAttributes;
+ private SignalExternalWorkflowExecutionDecisionAttributes
+ signalExternalWorkflowExecutionDecisionAttributes;
+ private UpsertWorkflowSearchAttributesDecisionAttributes
+ upsertWorkflowSearchAttributesDecisionAttributes;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DecisionTaskCompletedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/DecisionTaskCompletedEventAttributes.java
new file mode 100644
index 000000000..769d9a122
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DecisionTaskCompletedEventAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DecisionTaskCompletedEventAttributes {
+ private byte[] executionContext;
+ private long scheduledEventId;
+ private long startedEventId;
+ private String identity;
+ private String binaryChecksum;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DecisionTaskFailedCause.java b/src/gen/java/com/uber/cadence/entities/DecisionTaskFailedCause.java
new file mode 100644
index 000000000..f733a1b3e
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DecisionTaskFailedCause.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum DecisionTaskFailedCause {
+ UNHANDLED_DECISION,
+ BAD_SCHEDULE_ACTIVITY_ATTRIBUTES,
+ BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES,
+ BAD_START_TIMER_ATTRIBUTES,
+ BAD_CANCEL_TIMER_ATTRIBUTES,
+ BAD_RECORD_MARKER_ATTRIBUTES,
+ BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_CONTINUE_AS_NEW_ATTRIBUTES,
+ START_TIMER_DUPLICATE_ID,
+ RESET_STICKY_TASKLIST,
+ WORKFLOW_WORKER_UNHANDLED_FAILURE,
+ BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES,
+ BAD_START_CHILD_EXECUTION_ATTRIBUTES,
+ FORCE_CLOSE_DECISION,
+ FAILOVER_CLOSE_DECISION,
+ BAD_SIGNAL_INPUT_SIZE,
+ RESET_WORKFLOW,
+ BAD_BINARY,
+ SCHEDULE_ACTIVITY_DUPLICATE_ID,
+ BAD_SEARCH_ATTRIBUTES,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DecisionTaskFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/DecisionTaskFailedEventAttributes.java
new file mode 100644
index 000000000..ebdd81534
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DecisionTaskFailedEventAttributes.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DecisionTaskFailedEventAttributes {
+ private long scheduledEventId;
+ private long startedEventId;
+ private DecisionTaskFailedCause cause;
+ private byte[] details;
+ private String identity;
+ private String reason;
+ private String baseRunId;
+ private String newRunId;
+ private long forkEventVersion;
+ private String binaryChecksum;
+ private String requestId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DecisionTaskScheduledEventAttributes.java b/src/gen/java/com/uber/cadence/entities/DecisionTaskScheduledEventAttributes.java
new file mode 100644
index 000000000..782202ab9
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DecisionTaskScheduledEventAttributes.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DecisionTaskScheduledEventAttributes {
+ private TaskList taskList;
+ private int startToCloseTimeoutSeconds;
+ private long attempt;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DecisionTaskStartedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/DecisionTaskStartedEventAttributes.java
new file mode 100644
index 000000000..18a00183b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DecisionTaskStartedEventAttributes.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DecisionTaskStartedEventAttributes {
+ private long scheduledEventId;
+ private String identity;
+ private String requestId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DecisionTaskTimedOutCause.java b/src/gen/java/com/uber/cadence/entities/DecisionTaskTimedOutCause.java
new file mode 100644
index 000000000..e5d02a6ea
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DecisionTaskTimedOutCause.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum DecisionTaskTimedOutCause {
+ TIMEOUT,
+ RESET,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DecisionTaskTimedOutEventAttributes.java b/src/gen/java/com/uber/cadence/entities/DecisionTaskTimedOutEventAttributes.java
new file mode 100644
index 000000000..51f139cc4
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DecisionTaskTimedOutEventAttributes.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DecisionTaskTimedOutEventAttributes {
+ private long scheduledEventId;
+ private long startedEventId;
+ private TimeoutType timeoutType;
+ private String baseRunId;
+ private String newRunId;
+ private long forkEventVersion;
+ private String reason;
+ private DecisionTaskTimedOutCause cause;
+ private String requestId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DecisionType.java b/src/gen/java/com/uber/cadence/entities/DecisionType.java
new file mode 100644
index 000000000..e7f342766
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DecisionType.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum DecisionType {
+ ScheduleActivityTask,
+ RequestCancelActivityTask,
+ StartTimer,
+ CompleteWorkflowExecution,
+ FailWorkflowExecution,
+ CancelTimer,
+ CancelWorkflowExecution,
+ RequestCancelExternalWorkflowExecution,
+ RecordMarker,
+ ContinueAsNewWorkflowExecution,
+ StartChildWorkflowExecution,
+ SignalExternalWorkflowExecution,
+ UpsertWorkflowSearchAttributes,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DeprecateDomainRequest.java b/src/gen/java/com/uber/cadence/entities/DeprecateDomainRequest.java
new file mode 100644
index 000000000..06029d940
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DeprecateDomainRequest.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DeprecateDomainRequest {
+ private String name;
+ private String securityToken;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DescribeDomainRequest.java b/src/gen/java/com/uber/cadence/entities/DescribeDomainRequest.java
new file mode 100644
index 000000000..c8d4f1d31
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DescribeDomainRequest.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeDomainRequest {
+ private String name;
+ private String uuid;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DescribeDomainResponse.java b/src/gen/java/com/uber/cadence/entities/DescribeDomainResponse.java
new file mode 100644
index 000000000..e02478b55
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DescribeDomainResponse.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeDomainResponse {
+ private DomainInfo domainInfo;
+ private DomainConfiguration configuration;
+ private DomainReplicationConfiguration replicationConfiguration;
+ private long failoverVersion;
+ private boolean isGlobalDomain;
+ private FailoverInfo failoverInfo;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DescribeHistoryHostRequest.java b/src/gen/java/com/uber/cadence/entities/DescribeHistoryHostRequest.java
new file mode 100644
index 000000000..ae3ceb5d5
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DescribeHistoryHostRequest.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeHistoryHostRequest {
+ private String hostAddress;
+ private int shardIdForHost;
+ private WorkflowExecution executionForHost;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DescribeHistoryHostResponse.java b/src/gen/java/com/uber/cadence/entities/DescribeHistoryHostResponse.java
new file mode 100644
index 000000000..e1438232d
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DescribeHistoryHostResponse.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeHistoryHostResponse {
+ private int numberOfShards;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeQueueRequest {
+ private int shardID;
+ private String clusterName;
+ private int type;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DescribeQueueResponse.java b/src/gen/java/com/uber/cadence/entities/DescribeQueueResponse.java
new file mode 100644
index 000000000..be1507171
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DescribeQueueResponse.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeQueueResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeShardDistributionRequest {
+ private int pageSize;
+ private int pageID;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DescribeShardDistributionResponse.java b/src/gen/java/com/uber/cadence/entities/DescribeShardDistributionResponse.java
new file mode 100644
index 000000000..561969e3d
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DescribeShardDistributionResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeShardDistributionResponse {
+ private int numberOfShards;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeTaskListRequest {
+ private String domain;
+ private TaskList taskList;
+ private TaskListType taskListType;
+ private boolean includeTaskListStatus;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DescribeTaskListResponse.java b/src/gen/java/com/uber/cadence/entities/DescribeTaskListResponse.java
new file mode 100644
index 000000000..a75b8e95f
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DescribeTaskListResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeTaskListResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution execution;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DescribeWorkflowExecutionResponse.java b/src/gen/java/com/uber/cadence/entities/DescribeWorkflowExecutionResponse.java
new file mode 100644
index 000000000..a3d411521
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DescribeWorkflowExecutionResponse.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DescribeWorkflowExecutionResponse {
+ private WorkflowExecutionConfiguration executionConfiguration;
+ private WorkflowExecutionInfo workflowExecutionInfo;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class DomainAlreadyExistsError extends BaseError {
+
+ public DomainAlreadyExistsError() {
+ super();
+ }
+
+ public DomainAlreadyExistsError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public DomainAlreadyExistsError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DomainCacheInfo.java b/src/gen/java/com/uber/cadence/entities/DomainCacheInfo.java
new file mode 100644
index 000000000..2fcedf158
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DomainCacheInfo.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DomainCacheInfo {
+ private long numOfItemsInCacheByID;
+ private long numOfItemsInCacheByName;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DomainConfiguration.java b/src/gen/java/com/uber/cadence/entities/DomainConfiguration.java
new file mode 100644
index 000000000..b9428b7a7
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DomainConfiguration.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DomainConfiguration {
+ private int workflowExecutionRetentionPeriodInDays;
+ private boolean emitMetric;
+ private IsolationGroupConfiguration isolationgroups;
+ private BadBinaries badBinaries;
+ private ArchivalStatus historyArchivalStatus;
+ private String historyArchivalURI;
+ private ArchivalStatus visibilityArchivalStatus;
+ private String visibilityArchivalURI;
+ private AsyncWorkflowConfiguration AsyncWorkflowConfiguration;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DomainInfo.java b/src/gen/java/com/uber/cadence/entities/DomainInfo.java
new file mode 100644
index 000000000..fe0c2f425
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DomainInfo.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DomainInfo {
+ private String name;
+ private DomainStatus status;
+ private String description;
+ private String ownerEmail;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class DomainNotActiveError extends BaseError {
+ private String domainName;
+ private String currentCluster;
+ private String activeCluster;
+
+ public DomainNotActiveError() {
+ super();
+ }
+
+ public DomainNotActiveError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public DomainNotActiveError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/DomainReplicationConfiguration.java b/src/gen/java/com/uber/cadence/entities/DomainReplicationConfiguration.java
new file mode 100644
index 000000000..5fc78f2aa
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/DomainReplicationConfiguration.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class DomainReplicationConfiguration {
+ private String activeClusterName;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum DomainStatus {
+ REGISTERED,
+ DEPRECATED,
+ DELETED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/EncodingType.java b/src/gen/java/com/uber/cadence/entities/EncodingType.java
new file mode 100644
index 000000000..487ec24f2
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/EncodingType.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum EncodingType {
+ ThriftRW,
+ JSON,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/EntityNotExistsError.java b/src/gen/java/com/uber/cadence/entities/EntityNotExistsError.java
new file mode 100644
index 000000000..c5ccff910
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/EntityNotExistsError.java
@@ -0,0 +1,42 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class EntityNotExistsError extends BaseError {
+ private String currentCluster;
+ private String activeCluster;
+
+ public EntityNotExistsError() {
+ super();
+ }
+
+ public EntityNotExistsError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public EntityNotExistsError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/EventType.java b/src/gen/java/com/uber/cadence/entities/EventType.java
new file mode 100644
index 000000000..d9bdd8a0f
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/EventType.java
@@ -0,0 +1,60 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum EventType {
+ WorkflowExecutionStarted,
+ WorkflowExecutionCompleted,
+ WorkflowExecutionFailed,
+ WorkflowExecutionTimedOut,
+ DecisionTaskScheduled,
+ DecisionTaskStarted,
+ DecisionTaskCompleted,
+ DecisionTaskTimedOut,
+ DecisionTaskFailed,
+ ActivityTaskScheduled,
+ ActivityTaskStarted,
+ ActivityTaskCompleted,
+ ActivityTaskFailed,
+ ActivityTaskTimedOut,
+ ActivityTaskCancelRequested,
+ RequestCancelActivityTaskFailed,
+ ActivityTaskCanceled,
+ TimerStarted,
+ TimerFired,
+ CancelTimerFailed,
+ TimerCanceled,
+ WorkflowExecutionCancelRequested,
+ WorkflowExecutionCanceled,
+ RequestCancelExternalWorkflowExecutionInitiated,
+ RequestCancelExternalWorkflowExecutionFailed,
+ ExternalWorkflowExecutionCancelRequested,
+ MarkerRecorded,
+ WorkflowExecutionSignaled,
+ WorkflowExecutionTerminated,
+ WorkflowExecutionContinuedAsNew,
+ StartChildWorkflowExecutionInitiated,
+ StartChildWorkflowExecutionFailed,
+ ChildWorkflowExecutionStarted,
+ ChildWorkflowExecutionCompleted,
+ ChildWorkflowExecutionFailed,
+ ChildWorkflowExecutionCanceled,
+ ChildWorkflowExecutionTimedOut,
+ ChildWorkflowExecutionTerminated,
+ SignalExternalWorkflowExecutionInitiated,
+ SignalExternalWorkflowExecutionFailed,
+ ExternalWorkflowExecutionSignaled,
+ UpsertWorkflowSearchAttributes,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ExternalWorkflowExecutionCancelRequestedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ExternalWorkflowExecutionCancelRequestedEventAttributes.java
new file mode 100644
index 000000000..2ce2b3d51
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ExternalWorkflowExecutionCancelRequestedEventAttributes.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ExternalWorkflowExecutionCancelRequestedEventAttributes {
+ private long initiatedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ExternalWorkflowExecutionSignaledEventAttributes.java b/src/gen/java/com/uber/cadence/entities/ExternalWorkflowExecutionSignaledEventAttributes.java
new file mode 100644
index 000000000..8b327a71a
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ExternalWorkflowExecutionSignaledEventAttributes.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ExternalWorkflowExecutionSignaledEventAttributes {
+ private long initiatedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private byte[] control;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/FailWorkflowExecutionDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/FailWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..08652cff2
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/FailWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class FailWorkflowExecutionDecisionAttributes {
+ private String reason;
+ private byte[] details;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/FailoverInfo.java b/src/gen/java/com/uber/cadence/entities/FailoverInfo.java
new file mode 100644
index 000000000..9dcc33f90
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/FailoverInfo.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class FailoverInfo {
+ private long failoverVersion;
+ private long failoverStartTimestamp;
+ private long failoverExpireTimestamp;
+ private int completedShardCount;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class FeatureFlags {
+ private boolean WorkflowExecutionAlreadyCompletedErrorEnabled;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/FeatureNotEnabledError.java b/src/gen/java/com/uber/cadence/entities/FeatureNotEnabledError.java
new file mode 100644
index 000000000..b32ff131c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/FeatureNotEnabledError.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class FeatureNotEnabledError extends BaseError {
+ private String featureFlag;
+
+ public FeatureNotEnabledError() {
+ super();
+ }
+
+ public FeatureNotEnabledError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public FeatureNotEnabledError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/GetCrossClusterTasksRequest.java b/src/gen/java/com/uber/cadence/entities/GetCrossClusterTasksRequest.java
new file mode 100644
index 000000000..6933b4634
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/GetCrossClusterTasksRequest.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class GetCrossClusterTasksRequest {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class GetCrossClusterTasksResponse {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class GetSearchAttributesResponse {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum GetTaskFailedCause {
+ SERVICE_BUSY,
+ TIMEOUT,
+ SHARD_OWNERSHIP_LOST,
+ UNCATEGORIZED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/GetTaskListsByDomainRequest.java b/src/gen/java/com/uber/cadence/entities/GetTaskListsByDomainRequest.java
new file mode 100644
index 000000000..bc8565926
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/GetTaskListsByDomainRequest.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class GetTaskListsByDomainRequest {
+ private String domainName;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/GetTaskListsByDomainResponse.java b/src/gen/java/com/uber/cadence/entities/GetTaskListsByDomainResponse.java
new file mode 100644
index 000000000..9dadaf74c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/GetTaskListsByDomainResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class GetTaskListsByDomainResponse {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class GetWorkflowExecutionHistoryRequest {
+ private String domain;
+ private WorkflowExecution execution;
+ private int maximumPageSize;
+ private byte[] nextPageToken;
+ private boolean waitForNewEvent;
+ private HistoryEventFilterType HistoryEventFilterType;
+ private boolean skipArchival;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/GetWorkflowExecutionHistoryResponse.java b/src/gen/java/com/uber/cadence/entities/GetWorkflowExecutionHistoryResponse.java
new file mode 100644
index 000000000..641148f58
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/GetWorkflowExecutionHistoryResponse.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class GetWorkflowExecutionHistoryResponse {
+ private History history;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class Header {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class History {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class HistoryBranch {
+ private String treeID;
+ private String branchID;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class HistoryBranchRange {
+ private String branchID;
+ private long beginNodeID;
+ private long endNodeID;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/HistoryEvent.java b/src/gen/java/com/uber/cadence/entities/HistoryEvent.java
new file mode 100644
index 000000000..acab6170b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/HistoryEvent.java
@@ -0,0 +1,87 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class HistoryEvent {
+ private long eventId;
+ private long timestamp;
+ private EventType eventType;
+ private long version;
+ private long taskId;
+ private WorkflowExecutionStartedEventAttributes workflowExecutionStartedEventAttributes;
+ private WorkflowExecutionCompletedEventAttributes workflowExecutionCompletedEventAttributes;
+ private WorkflowExecutionFailedEventAttributes workflowExecutionFailedEventAttributes;
+ private WorkflowExecutionTimedOutEventAttributes workflowExecutionTimedOutEventAttributes;
+ private DecisionTaskScheduledEventAttributes decisionTaskScheduledEventAttributes;
+ private DecisionTaskStartedEventAttributes decisionTaskStartedEventAttributes;
+ private DecisionTaskCompletedEventAttributes decisionTaskCompletedEventAttributes;
+ private DecisionTaskTimedOutEventAttributes decisionTaskTimedOutEventAttributes;
+ private DecisionTaskFailedEventAttributes decisionTaskFailedEventAttributes;
+ private ActivityTaskScheduledEventAttributes activityTaskScheduledEventAttributes;
+ private ActivityTaskStartedEventAttributes activityTaskStartedEventAttributes;
+ private ActivityTaskCompletedEventAttributes activityTaskCompletedEventAttributes;
+ private ActivityTaskFailedEventAttributes activityTaskFailedEventAttributes;
+ private ActivityTaskTimedOutEventAttributes activityTaskTimedOutEventAttributes;
+ private TimerStartedEventAttributes timerStartedEventAttributes;
+ private TimerFiredEventAttributes timerFiredEventAttributes;
+ private ActivityTaskCancelRequestedEventAttributes activityTaskCancelRequestedEventAttributes;
+ private RequestCancelActivityTaskFailedEventAttributes
+ requestCancelActivityTaskFailedEventAttributes;
+ private ActivityTaskCanceledEventAttributes activityTaskCanceledEventAttributes;
+ private TimerCanceledEventAttributes timerCanceledEventAttributes;
+ private CancelTimerFailedEventAttributes cancelTimerFailedEventAttributes;
+ private MarkerRecordedEventAttributes markerRecordedEventAttributes;
+ private WorkflowExecutionSignaledEventAttributes workflowExecutionSignaledEventAttributes;
+ private WorkflowExecutionTerminatedEventAttributes workflowExecutionTerminatedEventAttributes;
+ private WorkflowExecutionCancelRequestedEventAttributes
+ workflowExecutionCancelRequestedEventAttributes;
+ private WorkflowExecutionCanceledEventAttributes workflowExecutionCanceledEventAttributes;
+ private RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+ requestCancelExternalWorkflowExecutionInitiatedEventAttributes;
+ private RequestCancelExternalWorkflowExecutionFailedEventAttributes
+ requestCancelExternalWorkflowExecutionFailedEventAttributes;
+ private ExternalWorkflowExecutionCancelRequestedEventAttributes
+ externalWorkflowExecutionCancelRequestedEventAttributes;
+ private WorkflowExecutionContinuedAsNewEventAttributes
+ workflowExecutionContinuedAsNewEventAttributes;
+ private StartChildWorkflowExecutionInitiatedEventAttributes
+ startChildWorkflowExecutionInitiatedEventAttributes;
+ private StartChildWorkflowExecutionFailedEventAttributes
+ startChildWorkflowExecutionFailedEventAttributes;
+ private ChildWorkflowExecutionStartedEventAttributes childWorkflowExecutionStartedEventAttributes;
+ private ChildWorkflowExecutionCompletedEventAttributes
+ childWorkflowExecutionCompletedEventAttributes;
+ private ChildWorkflowExecutionFailedEventAttributes childWorkflowExecutionFailedEventAttributes;
+ private ChildWorkflowExecutionCanceledEventAttributes
+ childWorkflowExecutionCanceledEventAttributes;
+ private ChildWorkflowExecutionTimedOutEventAttributes
+ childWorkflowExecutionTimedOutEventAttributes;
+ private ChildWorkflowExecutionTerminatedEventAttributes
+ childWorkflowExecutionTerminatedEventAttributes;
+ private SignalExternalWorkflowExecutionInitiatedEventAttributes
+ signalExternalWorkflowExecutionInitiatedEventAttributes;
+ private SignalExternalWorkflowExecutionFailedEventAttributes
+ signalExternalWorkflowExecutionFailedEventAttributes;
+ private ExternalWorkflowExecutionSignaledEventAttributes
+ externalWorkflowExecutionSignaledEventAttributes;
+ private UpsertWorkflowSearchAttributesEventAttributes
+ upsertWorkflowSearchAttributesEventAttributes;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/HistoryEventFilterType.java b/src/gen/java/com/uber/cadence/entities/HistoryEventFilterType.java
new file mode 100644
index 000000000..e62aa2675
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/HistoryEventFilterType.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum HistoryEventFilterType {
+ ALL_EVENT,
+ CLOSE_EVENT,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/IndexedValueType.java b/src/gen/java/com/uber/cadence/entities/IndexedValueType.java
new file mode 100644
index 000000000..7016b4409
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/IndexedValueType.java
@@ -0,0 +1,24 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum IndexedValueType {
+ STRING,
+ KEYWORD,
+ INT,
+ DOUBLE,
+ BOOL,
+ DATETIME,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/InternalDataInconsistencyError.java b/src/gen/java/com/uber/cadence/entities/InternalDataInconsistencyError.java
new file mode 100644
index 000000000..110dd93b3
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/InternalDataInconsistencyError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class InternalDataInconsistencyError extends BaseError {
+
+ public InternalDataInconsistencyError() {
+ super();
+ }
+
+ public InternalDataInconsistencyError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InternalDataInconsistencyError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/InternalServiceError.java b/src/gen/java/com/uber/cadence/entities/InternalServiceError.java
new file mode 100644
index 000000000..5d9040426
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/InternalServiceError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class InternalServiceError extends BaseError {
+
+ public InternalServiceError() {
+ super();
+ }
+
+ public InternalServiceError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InternalServiceError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/IsolationGroupConfiguration.java b/src/gen/java/com/uber/cadence/entities/IsolationGroupConfiguration.java
new file mode 100644
index 000000000..1a07810b0
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/IsolationGroupConfiguration.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class IsolationGroupConfiguration {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class IsolationGroupPartition {
+ private String name;
+ private IsolationGroupState state;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/IsolationGroupState.java b/src/gen/java/com/uber/cadence/entities/IsolationGroupState.java
new file mode 100644
index 000000000..e4b59f1fe
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/IsolationGroupState.java
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum IsolationGroupState {
+ INVALID,
+ HEALTHY,
+ DRAINED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/LimitExceededError.java b/src/gen/java/com/uber/cadence/entities/LimitExceededError.java
new file mode 100644
index 000000000..49cb5ae45
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/LimitExceededError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class LimitExceededError extends BaseError {
+
+ public LimitExceededError() {
+ super();
+ }
+
+ public LimitExceededError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public LimitExceededError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ListArchivedWorkflowExecutionsRequest.java b/src/gen/java/com/uber/cadence/entities/ListArchivedWorkflowExecutionsRequest.java
new file mode 100644
index 000000000..208f42864
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ListArchivedWorkflowExecutionsRequest.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListArchivedWorkflowExecutionsRequest {
+ private String domain;
+ private int pageSize;
+ private byte[] nextPageToken;
+ private String query;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ListArchivedWorkflowExecutionsResponse.java b/src/gen/java/com/uber/cadence/entities/ListArchivedWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..8ffde7384
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ListArchivedWorkflowExecutionsResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListArchivedWorkflowExecutionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListClosedWorkflowExecutionsRequest {
+ private String domain;
+ private int maximumPageSize;
+ private byte[] nextPageToken;
+ private StartTimeFilter StartTimeFilter;
+ private WorkflowExecutionFilter executionFilter;
+ private WorkflowTypeFilter typeFilter;
+ private WorkflowExecutionCloseStatus statusFilter;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ListClosedWorkflowExecutionsResponse.java b/src/gen/java/com/uber/cadence/entities/ListClosedWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..235868481
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ListClosedWorkflowExecutionsResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListClosedWorkflowExecutionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListDomainsRequest {
+ private int pageSize;
+ private byte[] nextPageToken;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ListDomainsResponse.java b/src/gen/java/com/uber/cadence/entities/ListDomainsResponse.java
new file mode 100644
index 000000000..8739c8f9f
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ListDomainsResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListDomainsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListOpenWorkflowExecutionsRequest {
+ private String domain;
+ private int maximumPageSize;
+ private byte[] nextPageToken;
+ private StartTimeFilter StartTimeFilter;
+ private WorkflowExecutionFilter executionFilter;
+ private WorkflowTypeFilter typeFilter;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ListOpenWorkflowExecutionsResponse.java b/src/gen/java/com/uber/cadence/entities/ListOpenWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..a00215dba
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ListOpenWorkflowExecutionsResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListOpenWorkflowExecutionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListTaskListPartitionsRequest {
+ private String domain;
+ private TaskList taskList;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ListTaskListPartitionsResponse.java b/src/gen/java/com/uber/cadence/entities/ListTaskListPartitionsResponse.java
new file mode 100644
index 000000000..0e829d0a6
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ListTaskListPartitionsResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListTaskListPartitionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListWorkflowExecutionsRequest {
+ private String domain;
+ private int pageSize;
+ private byte[] nextPageToken;
+ private String query;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ListWorkflowExecutionsResponse.java b/src/gen/java/com/uber/cadence/entities/ListWorkflowExecutionsResponse.java
new file mode 100644
index 000000000..2fe35436b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ListWorkflowExecutionsResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ListWorkflowExecutionsResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class MarkerRecordedEventAttributes {
+ private String markerName;
+ private byte[] details;
+ private long decisionTaskCompletedEventId;
+ private Header header;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/Memo.java b/src/gen/java/com/uber/cadence/entities/Memo.java
new file mode 100644
index 000000000..72468f63d
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/Memo.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class Memo {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum ParentClosePolicy {
+ ABANDON,
+ REQUEST_CANCEL,
+ TERMINATE,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PendingActivityInfo.java b/src/gen/java/com/uber/cadence/entities/PendingActivityInfo.java
new file mode 100644
index 000000000..3784502de
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PendingActivityInfo.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class PendingActivityInfo {
+ private String activityID;
+ private ActivityType activityType;
+ private PendingActivityState state;
+ private byte[] heartbeatDetails;
+ private long lastHeartbeatTimestamp;
+ private long lastStartedTimestamp;
+ private int attempt;
+ private int maximumAttempts;
+ private long scheduledTimestamp;
+ private long expirationTimestamp;
+ private String lastFailureReason;
+ private String lastWorkerIdentity;
+ private byte[] lastFailureDetails;
+ private String startedWorkerIdentity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PendingActivityState.java b/src/gen/java/com/uber/cadence/entities/PendingActivityState.java
new file mode 100644
index 000000000..f8cca0547
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PendingActivityState.java
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum PendingActivityState {
+ SCHEDULED,
+ STARTED,
+ CANCEL_REQUESTED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PendingChildExecutionInfo.java b/src/gen/java/com/uber/cadence/entities/PendingChildExecutionInfo.java
new file mode 100644
index 000000000..7285a71f2
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PendingChildExecutionInfo.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class PendingChildExecutionInfo {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String workflowTypName;
+ private long initiatedID;
+ private ParentClosePolicy parentClosePolicy;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PendingDecisionInfo.java b/src/gen/java/com/uber/cadence/entities/PendingDecisionInfo.java
new file mode 100644
index 000000000..13607acc0
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PendingDecisionInfo.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class PendingDecisionInfo {
+ private PendingDecisionState state;
+ private long scheduledTimestamp;
+ private long startedTimestamp;
+ private long attempt;
+ private long originalScheduledTimestamp;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PendingDecisionState.java b/src/gen/java/com/uber/cadence/entities/PendingDecisionState.java
new file mode 100644
index 000000000..66919f790
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PendingDecisionState.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum PendingDecisionState {
+ SCHEDULED,
+ STARTED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PollForActivityTaskRequest.java b/src/gen/java/com/uber/cadence/entities/PollForActivityTaskRequest.java
new file mode 100644
index 000000000..01ef2bd2d
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PollForActivityTaskRequest.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class PollForActivityTaskRequest {
+ private String domain;
+ private TaskList taskList;
+ private String identity;
+ private TaskListMetadata taskListMetadata;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PollForActivityTaskResponse.java b/src/gen/java/com/uber/cadence/entities/PollForActivityTaskResponse.java
new file mode 100644
index 000000000..11a7fd5fd
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PollForActivityTaskResponse.java
@@ -0,0 +1,40 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class PollForActivityTaskResponse {
+ private byte[] taskToken;
+ private WorkflowExecution workflowExecution;
+ private String activityId;
+ private ActivityType activityType;
+ private byte[] input;
+ private long scheduledTimestamp;
+ private int scheduleToCloseTimeoutSeconds;
+ private long startedTimestamp;
+ private int startToCloseTimeoutSeconds;
+ private int heartbeatTimeoutSeconds;
+ private int attempt;
+ private long scheduledTimestampOfThisAttempt;
+ private byte[] heartbeatDetails;
+ private WorkflowType workflowType;
+ private String workflowDomain;
+ private Header header;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PollForDecisionTaskRequest.java b/src/gen/java/com/uber/cadence/entities/PollForDecisionTaskRequest.java
new file mode 100644
index 000000000..b4fb66e53
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PollForDecisionTaskRequest.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class PollForDecisionTaskRequest {
+ private String domain;
+ private TaskList taskList;
+ private String identity;
+ private String binaryChecksum;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/PollForDecisionTaskResponse.java b/src/gen/java/com/uber/cadence/entities/PollForDecisionTaskResponse.java
new file mode 100644
index 000000000..3912c7fd1
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/PollForDecisionTaskResponse.java
@@ -0,0 +1,40 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class PollForDecisionTaskResponse {
+ private byte[] taskToken;
+ private WorkflowExecution workflowExecution;
+ private WorkflowType workflowType;
+ private long previousStartedEventId;
+ private long startedEventId;
+ private long attempt;
+ private long backlogCountHint;
+ private History history;
+ private byte[] nextPageToken;
+ private WorkflowQuery query;
+ private TaskList WorkflowExecutionTaskList;
+ private long scheduledTimestamp;
+ private long startedTimestamp;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class PollerInfo {
+ private long lastAccessTime;
+ private String identity;
+ private double ratePerSecond;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/QueryConsistencyLevel.java b/src/gen/java/com/uber/cadence/entities/QueryConsistencyLevel.java
new file mode 100644
index 000000000..5cb643493
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/QueryConsistencyLevel.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum QueryConsistencyLevel {
+ EVENTUAL,
+ STRONG,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/QueryFailedError.java b/src/gen/java/com/uber/cadence/entities/QueryFailedError.java
new file mode 100644
index 000000000..ab4dbae0a
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/QueryFailedError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class QueryFailedError extends BaseError {
+
+ public QueryFailedError() {
+ super();
+ }
+
+ public QueryFailedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public QueryFailedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/QueryRejectCondition.java b/src/gen/java/com/uber/cadence/entities/QueryRejectCondition.java
new file mode 100644
index 000000000..e377588c7
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/QueryRejectCondition.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum QueryRejectCondition {
+ NOT_OPEN,
+ NOT_COMPLETED_CLEANLY,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/QueryRejected.java b/src/gen/java/com/uber/cadence/entities/QueryRejected.java
new file mode 100644
index 000000000..81779e1cc
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/QueryRejected.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class QueryRejected {
+ private WorkflowExecutionCloseStatus closeStatus;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/QueryResultType.java b/src/gen/java/com/uber/cadence/entities/QueryResultType.java
new file mode 100644
index 000000000..b58ca7441
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/QueryResultType.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum QueryResultType {
+ ANSWERED,
+ FAILED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/QueryTaskCompletedType.java b/src/gen/java/com/uber/cadence/entities/QueryTaskCompletedType.java
new file mode 100644
index 000000000..5f4b18135
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/QueryTaskCompletedType.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum QueryTaskCompletedType {
+ COMPLETED,
+ FAILED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/QueryWorkflowRequest.java b/src/gen/java/com/uber/cadence/entities/QueryWorkflowRequest.java
new file mode 100644
index 000000000..b8c6623dc
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/QueryWorkflowRequest.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class QueryWorkflowRequest {
+ private String domain;
+ private WorkflowExecution execution;
+ private WorkflowQuery query;
+ private QueryRejectCondition queryRejectCondition;
+ private QueryConsistencyLevel queryConsistencyLevel;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/QueryWorkflowResponse.java b/src/gen/java/com/uber/cadence/entities/QueryWorkflowResponse.java
new file mode 100644
index 000000000..6eaa724be
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/QueryWorkflowResponse.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class QueryWorkflowResponse {
+ private byte[] queryResult;
+ private QueryRejected queryRejected;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ReapplyEventsRequest.java b/src/gen/java/com/uber/cadence/entities/ReapplyEventsRequest.java
new file mode 100644
index 000000000..991759fc8
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ReapplyEventsRequest.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ReapplyEventsRequest {
+ private String domainName;
+ private WorkflowExecution workflowExecution;
+ private DataBlob events;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatByIDRequest.java b/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatByIDRequest.java
new file mode 100644
index 000000000..f1e0cf342
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatByIDRequest.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RecordActivityTaskHeartbeatByIDRequest {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String activityID;
+ private byte[] details;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatRequest.java b/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatRequest.java
new file mode 100644
index 000000000..a41e01816
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatRequest.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RecordActivityTaskHeartbeatRequest {
+ private byte[] taskToken;
+ private byte[] details;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatResponse.java b/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatResponse.java
new file mode 100644
index 000000000..18f84f637
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RecordActivityTaskHeartbeatResponse.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RecordActivityTaskHeartbeatResponse {
+ private boolean cancelRequested;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RecordMarkerDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/RecordMarkerDecisionAttributes.java
new file mode 100644
index 000000000..480294070
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RecordMarkerDecisionAttributes.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RecordMarkerDecisionAttributes {
+ private String markerName;
+ private byte[] details;
+ private Header header;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RefreshWorkflowTasksRequest.java b/src/gen/java/com/uber/cadence/entities/RefreshWorkflowTasksRequest.java
new file mode 100644
index 000000000..264724115
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RefreshWorkflowTasksRequest.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RefreshWorkflowTasksRequest {
+ private String domain;
+ private WorkflowExecution execution;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RegisterDomainRequest.java b/src/gen/java/com/uber/cadence/entities/RegisterDomainRequest.java
new file mode 100644
index 000000000..a16c903d5
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RegisterDomainRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RegisterDomainRequest {
+ private String name;
+ private String description;
+ private String ownerEmail;
+ private int workflowExecutionRetentionPeriodInDays;
+ private boolean emitMetric;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class RemoteSyncMatchedError extends BaseError {
+
+ public RemoteSyncMatchedError() {
+ super();
+ }
+
+ public RemoteSyncMatchedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public RemoteSyncMatchedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RemoveTaskRequest.java b/src/gen/java/com/uber/cadence/entities/RemoveTaskRequest.java
new file mode 100644
index 000000000..ce2c21e4e
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RemoveTaskRequest.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RemoveTaskRequest {
+ private int shardID;
+ private int type;
+ private long taskID;
+ private long visibilityTimestamp;
+ private String clusterName;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RequestCancelActivityTaskDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/RequestCancelActivityTaskDecisionAttributes.java
new file mode 100644
index 000000000..57e914705
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RequestCancelActivityTaskDecisionAttributes.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RequestCancelActivityTaskDecisionAttributes {
+ private String activityId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RequestCancelActivityTaskFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/RequestCancelActivityTaskFailedEventAttributes.java
new file mode 100644
index 000000000..f600c7fa6
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RequestCancelActivityTaskFailedEventAttributes.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RequestCancelActivityTaskFailedEventAttributes {
+ private String activityId;
+ private String cause;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..4e23c4fb3
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RequestCancelExternalWorkflowExecutionDecisionAttributes {
+ private String domain;
+ private String workflowId;
+ private String runId;
+ private byte[] control;
+ private boolean childWorkflowOnly;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..819152af7
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RequestCancelExternalWorkflowExecutionFailedEventAttributes {
+ private CancelExternalWorkflowExecutionFailedCause cause;
+ private long decisionTaskCompletedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private long initiatedEventId;
+ private byte[] control;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.java
new file mode 100644
index 000000000..118ee99c9
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes {
+ private long decisionTaskCompletedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private byte[] control;
+ private boolean childWorkflowOnly;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RequestCancelWorkflowExecutionRequest.java b/src/gen/java/com/uber/cadence/entities/RequestCancelWorkflowExecutionRequest.java
new file mode 100644
index 000000000..65626a6f6
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RequestCancelWorkflowExecutionRequest.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RequestCancelWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String identity;
+ private String requestId;
+ private String cause;
+ private String firstExecutionRunID;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ResetPointInfo.java b/src/gen/java/com/uber/cadence/entities/ResetPointInfo.java
new file mode 100644
index 000000000..33f71666d
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ResetPointInfo.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ResetPointInfo {
+ private String binaryChecksum;
+ private String runId;
+ private long firstDecisionCompletedId;
+ private long createdTimeNano;
+ private long expiringTimeNano;
+ private boolean resettable;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ResetPoints.java b/src/gen/java/com/uber/cadence/entities/ResetPoints.java
new file mode 100644
index 000000000..be0aaa02b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ResetPoints.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ResetPoints {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ResetQueueRequest {
+ private int shardID;
+ private String clusterName;
+ private int type;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ResetStickyTaskListRequest.java b/src/gen/java/com/uber/cadence/entities/ResetStickyTaskListRequest.java
new file mode 100644
index 000000000..ea6fc0cb1
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ResetStickyTaskListRequest.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ResetStickyTaskListRequest {
+ private String domain;
+ private WorkflowExecution execution;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ResetStickyTaskListResponse.java b/src/gen/java/com/uber/cadence/entities/ResetStickyTaskListResponse.java
new file mode 100644
index 000000000..695ea3619
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ResetStickyTaskListResponse.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ResetStickyTaskListResponse {}
diff --git a/src/gen/java/com/uber/cadence/entities/ResetWorkflowExecutionRequest.java b/src/gen/java/com/uber/cadence/entities/ResetWorkflowExecutionRequest.java
new file mode 100644
index 000000000..fe9896dae
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ResetWorkflowExecutionRequest.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ResetWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String reason;
+ private long decisionFinishEventId;
+ private String requestId;
+ private boolean skipSignalReapply;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ResetWorkflowExecutionResponse.java b/src/gen/java/com/uber/cadence/entities/ResetWorkflowExecutionResponse.java
new file mode 100644
index 000000000..787cf0483
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ResetWorkflowExecutionResponse.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ResetWorkflowExecutionResponse {
+ private String runId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCanceledByIDRequest.java b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCanceledByIDRequest.java
new file mode 100644
index 000000000..bbee5b422
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCanceledByIDRequest.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskCanceledByIDRequest {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String activityID;
+ private byte[] details;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCanceledRequest.java b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCanceledRequest.java
new file mode 100644
index 000000000..4d801e5dc
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCanceledRequest.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskCanceledRequest {
+ private byte[] taskToken;
+ private byte[] details;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCompletedByIDRequest.java b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCompletedByIDRequest.java
new file mode 100644
index 000000000..47e8fe317
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCompletedByIDRequest.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskCompletedByIDRequest {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String activityID;
+ private byte[] result;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCompletedRequest.java b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCompletedRequest.java
new file mode 100644
index 000000000..1c0951787
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskCompletedRequest.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskCompletedRequest {
+ private byte[] taskToken;
+ private byte[] result;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RespondActivityTaskFailedByIDRequest.java b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskFailedByIDRequest.java
new file mode 100644
index 000000000..0a3c2c8c5
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskFailedByIDRequest.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskFailedByIDRequest {
+ private String domain;
+ private String workflowID;
+ private String runID;
+ private String activityID;
+ private String reason;
+ private byte[] details;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RespondActivityTaskFailedRequest.java b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskFailedRequest.java
new file mode 100644
index 000000000..4325718aa
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RespondActivityTaskFailedRequest.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondActivityTaskFailedRequest {
+ private byte[] taskToken;
+ private String reason;
+ private byte[] details;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RespondCrossClusterTasksCompletedRequest.java b/src/gen/java/com/uber/cadence/entities/RespondCrossClusterTasksCompletedRequest.java
new file mode 100644
index 000000000..34856bdab
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RespondCrossClusterTasksCompletedRequest.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondCrossClusterTasksCompletedRequest {
+ private int shardID;
+ private String targetCluster;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondCrossClusterTasksCompletedResponse {
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondDecisionTaskCompletedRequest {
+ private byte[] taskToken;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondDecisionTaskCompletedResponse {
+ private PollForDecisionTaskResponse decisionTask;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondDecisionTaskFailedRequest {
+ private byte[] taskToken;
+ private DecisionTaskFailedCause cause;
+ private byte[] details;
+ private String identity;
+ private String binaryChecksum;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RespondQueryTaskCompletedRequest.java b/src/gen/java/com/uber/cadence/entities/RespondQueryTaskCompletedRequest.java
new file mode 100644
index 000000000..7b83d5f56
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RespondQueryTaskCompletedRequest.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RespondQueryTaskCompletedRequest {
+ private byte[] taskToken;
+ private QueryTaskCompletedType completedType;
+ private byte[] queryResult;
+ private String errorMessage;
+ private WorkerVersionInfo workerVersionInfo;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RestartWorkflowExecutionRequest.java b/src/gen/java/com/uber/cadence/entities/RestartWorkflowExecutionRequest.java
new file mode 100644
index 000000000..fad0b63d9
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RestartWorkflowExecutionRequest.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RestartWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String reason;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RestartWorkflowExecutionResponse.java b/src/gen/java/com/uber/cadence/entities/RestartWorkflowExecutionResponse.java
new file mode 100644
index 000000000..8413b47af
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RestartWorkflowExecutionResponse.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RestartWorkflowExecutionResponse {
+ private String runId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/RetryPolicy.java b/src/gen/java/com/uber/cadence/entities/RetryPolicy.java
new file mode 100644
index 000000000..d0a749d9e
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/RetryPolicy.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class RetryPolicy {
+ private int initialIntervalInSeconds;
+ private double backoffCoefficient;
+ private int maximumIntervalInSeconds;
+ private int maximumAttempts;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class RetryTaskV2Error extends BaseError {
+ private String domainId;
+ private String workflowId;
+ private String runId;
+ private long startEventId;
+ private long startEventVersion;
+ private long endEventId;
+ private long endEventVersion;
+
+ public RetryTaskV2Error() {
+ super();
+ }
+
+ public RetryTaskV2Error(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public RetryTaskV2Error(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/ScheduleActivityTaskDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/ScheduleActivityTaskDecisionAttributes.java
new file mode 100644
index 000000000..da92ad5e5
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/ScheduleActivityTaskDecisionAttributes.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class ScheduleActivityTaskDecisionAttributes {
+ private String activityId;
+ private ActivityType activityType;
+ private String domain;
+ private TaskList taskList;
+ private byte[] input;
+ private int scheduleToCloseTimeoutSeconds;
+ private int scheduleToStartTimeoutSeconds;
+ private int startToCloseTimeoutSeconds;
+ private int heartbeatTimeoutSeconds;
+ private RetryPolicy retryPolicy;
+ private Header header;
+ private boolean requestLocalDispatch;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SearchAttributes.java b/src/gen/java/com/uber/cadence/entities/SearchAttributes.java
new file mode 100644
index 000000000..5359deb2c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SearchAttributes.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SearchAttributes {
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class ServiceBusyError extends BaseError {
+ private String reason;
+
+ public ServiceBusyError() {
+ super();
+ }
+
+ public ServiceBusyError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public ServiceBusyError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..cd8564879
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SignalExternalWorkflowExecutionDecisionAttributes {
+ private String domain;
+ private WorkflowExecution execution;
+ private String signalName;
+ private byte[] input;
+ private byte[] control;
+ private boolean childWorkflowOnly;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedCause.java b/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedCause.java
new file mode 100644
index 000000000..94864c4a5
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedCause.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum SignalExternalWorkflowExecutionFailedCause {
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION,
+ WORKFLOW_ALREADY_COMPLETED,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..595c4f1c2
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SignalExternalWorkflowExecutionFailedEventAttributes {
+ private SignalExternalWorkflowExecutionFailedCause cause;
+ private long decisionTaskCompletedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private long initiatedEventId;
+ private byte[] control;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionInitiatedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionInitiatedEventAttributes.java
new file mode 100644
index 000000000..b8d7b53f7
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SignalExternalWorkflowExecutionInitiatedEventAttributes.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SignalExternalWorkflowExecutionInitiatedEventAttributes {
+ private long decisionTaskCompletedEventId;
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String signalName;
+ private byte[] input;
+ private byte[] control;
+ private boolean childWorkflowOnly;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncRequest.java b/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncRequest.java
new file mode 100644
index 000000000..8725d974a
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncRequest.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SignalWithStartWorkflowExecutionAsyncRequest {
+ private SignalWithStartWorkflowExecutionRequest request;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncResponse.java b/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncResponse.java
new file mode 100644
index 000000000..ee2248341
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionAsyncResponse.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SignalWithStartWorkflowExecutionAsyncResponse {}
diff --git a/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionRequest.java b/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionRequest.java
new file mode 100644
index 000000000..32fea45d6
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SignalWithStartWorkflowExecutionRequest.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SignalWithStartWorkflowExecutionRequest {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private String identity;
+ private String requestId;
+ private WorkflowIdReusePolicy workflowIdReusePolicy;
+ private String signalName;
+ private byte[] signalInput;
+ private byte[] control;
+ private RetryPolicy retryPolicy;
+ private String cronSchedule;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private Header header;
+ private int delayStartSeconds;
+ private int jitterStartSeconds;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SignalWorkflowExecutionRequest.java b/src/gen/java/com/uber/cadence/entities/SignalWorkflowExecutionRequest.java
new file mode 100644
index 000000000..b89784e5c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SignalWorkflowExecutionRequest.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SignalWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String signalName;
+ private byte[] input;
+ private String identity;
+ private String requestId;
+ private byte[] control;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionDecisionAttributes.java
new file mode 100644
index 000000000..2b28bfdfc
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionDecisionAttributes.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartChildWorkflowExecutionDecisionAttributes {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private ParentClosePolicy parentClosePolicy;
+ private byte[] control;
+ private WorkflowIdReusePolicy workflowIdReusePolicy;
+ private RetryPolicy retryPolicy;
+ private String cronSchedule;
+ private Header header;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..02178c801
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartChildWorkflowExecutionFailedEventAttributes {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private ChildWorkflowExecutionFailedCause cause;
+ private byte[] control;
+ private long initiatedEventId;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionInitiatedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionInitiatedEventAttributes.java
new file mode 100644
index 000000000..f5898c20a
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartChildWorkflowExecutionInitiatedEventAttributes.java
@@ -0,0 +1,42 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartChildWorkflowExecutionInitiatedEventAttributes {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private ParentClosePolicy parentClosePolicy;
+ private byte[] control;
+ private long decisionTaskCompletedEventId;
+ private WorkflowIdReusePolicy workflowIdReusePolicy;
+ private RetryPolicy retryPolicy;
+ private String cronSchedule;
+ private Header header;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private int delayStartSeconds;
+ private int jitterStartSeconds;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StartTimeFilter.java b/src/gen/java/com/uber/cadence/entities/StartTimeFilter.java
new file mode 100644
index 000000000..6aa897999
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartTimeFilter.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartTimeFilter {
+ private long earliestTime;
+ private long latestTime;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StartTimerDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/StartTimerDecisionAttributes.java
new file mode 100644
index 000000000..213e38c76
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartTimerDecisionAttributes.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartTimerDecisionAttributes {
+ private String timerId;
+ private long startToFireTimeoutSeconds;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionAsyncRequest.java b/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionAsyncRequest.java
new file mode 100644
index 000000000..fc3743bd7
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionAsyncRequest.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartWorkflowExecutionAsyncRequest {
+ private StartWorkflowExecutionRequest request;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionAsyncResponse.java b/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionAsyncResponse.java
new file mode 100644
index 000000000..5828dfafe
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionAsyncResponse.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartWorkflowExecutionAsyncResponse {}
diff --git a/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionRequest.java b/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionRequest.java
new file mode 100644
index 000000000..29c6fbcea
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionRequest.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartWorkflowExecutionRequest {
+ private String domain;
+ private String workflowId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private String identity;
+ private String requestId;
+ private WorkflowIdReusePolicy workflowIdReusePolicy;
+ private RetryPolicy retryPolicy;
+ private String cronSchedule;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private Header header;
+ private int delayStartSeconds;
+ private int jitterStartSeconds;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionResponse.java b/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionResponse.java
new file mode 100644
index 000000000..a396a9d30
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StartWorkflowExecutionResponse.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StartWorkflowExecutionResponse {
+ private String runId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StickyExecutionAttributes.java b/src/gen/java/com/uber/cadence/entities/StickyExecutionAttributes.java
new file mode 100644
index 000000000..2a1960a3f
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StickyExecutionAttributes.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class StickyExecutionAttributes {
+ private TaskList workerTaskList;
+ private int scheduleToStartTimeoutSeconds;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/StickyWorkerUnavailableError.java b/src/gen/java/com/uber/cadence/entities/StickyWorkerUnavailableError.java
new file mode 100644
index 000000000..dbdf9df9f
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/StickyWorkerUnavailableError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class StickyWorkerUnavailableError extends BaseError {
+
+ public StickyWorkerUnavailableError() {
+ super();
+ }
+
+ public StickyWorkerUnavailableError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public StickyWorkerUnavailableError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/SupportedClientVersions.java b/src/gen/java/com/uber/cadence/entities/SupportedClientVersions.java
new file mode 100644
index 000000000..e002784ca
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/SupportedClientVersions.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class SupportedClientVersions {
+ private String goSdk;
+ private String javaSdk;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TaskIDBlock.java b/src/gen/java/com/uber/cadence/entities/TaskIDBlock.java
new file mode 100644
index 000000000..bb89d4120
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TaskIDBlock.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TaskIDBlock {
+ private long startID;
+ private long endID;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TaskList.java b/src/gen/java/com/uber/cadence/entities/TaskList.java
new file mode 100644
index 000000000..3cb07a190
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TaskList.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TaskList {
+ private String name;
+ private TaskListKind kind;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TaskListKind.java b/src/gen/java/com/uber/cadence/entities/TaskListKind.java
new file mode 100644
index 000000000..d169c18c0
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TaskListKind.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum TaskListKind {
+ NORMAL,
+ STICKY,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TaskListMetadata.java b/src/gen/java/com/uber/cadence/entities/TaskListMetadata.java
new file mode 100644
index 000000000..bb6a3fd24
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TaskListMetadata.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TaskListMetadata {
+ private double maxTasksPerSecond;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TaskListPartitionMetadata.java b/src/gen/java/com/uber/cadence/entities/TaskListPartitionMetadata.java
new file mode 100644
index 000000000..4b81abbf8
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TaskListPartitionMetadata.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TaskListPartitionMetadata {
+ private String key;
+ private String ownerHostName;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TaskListStatus.java b/src/gen/java/com/uber/cadence/entities/TaskListStatus.java
new file mode 100644
index 000000000..760c83011
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TaskListStatus.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TaskListStatus {
+ private long backlogCountHint;
+ private long readLevel;
+ private long ackLevel;
+ private double ratePerSecond;
+ private TaskIDBlock taskIDBlock;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TaskListType.java b/src/gen/java/com/uber/cadence/entities/TaskListType.java
new file mode 100644
index 000000000..96a79c9fc
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TaskListType.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum TaskListType {
+ Decision,
+ Activity,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TerminateWorkflowExecutionRequest.java b/src/gen/java/com/uber/cadence/entities/TerminateWorkflowExecutionRequest.java
new file mode 100644
index 000000000..fbcf9935c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TerminateWorkflowExecutionRequest.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TerminateWorkflowExecutionRequest {
+ private String domain;
+ private WorkflowExecution workflowExecution;
+ private String reason;
+ private byte[] details;
+ private String identity;
+ private String firstExecutionRunID;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TimeoutType.java b/src/gen/java/com/uber/cadence/entities/TimeoutType.java
new file mode 100644
index 000000000..7453e23d2
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TimeoutType.java
@@ -0,0 +1,22 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum TimeoutType {
+ START_TO_CLOSE,
+ SCHEDULE_TO_START,
+ SCHEDULE_TO_CLOSE,
+ HEARTBEAT,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TimerCanceledEventAttributes.java b/src/gen/java/com/uber/cadence/entities/TimerCanceledEventAttributes.java
new file mode 100644
index 000000000..800c1bfb3
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TimerCanceledEventAttributes.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TimerCanceledEventAttributes {
+ private String timerId;
+ private long startedEventId;
+ private long decisionTaskCompletedEventId;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TimerFiredEventAttributes.java b/src/gen/java/com/uber/cadence/entities/TimerFiredEventAttributes.java
new file mode 100644
index 000000000..56bc00350
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TimerFiredEventAttributes.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TimerFiredEventAttributes {
+ private String timerId;
+ private long startedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TimerStartedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/TimerStartedEventAttributes.java
new file mode 100644
index 000000000..e07fcf604
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TimerStartedEventAttributes.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TimerStartedEventAttributes {
+ private String timerId;
+ private long startToFireTimeoutSeconds;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/TransientDecisionInfo.java b/src/gen/java/com/uber/cadence/entities/TransientDecisionInfo.java
new file mode 100644
index 000000000..90a586168
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/TransientDecisionInfo.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class TransientDecisionInfo {
+ private HistoryEvent scheduledEvent;
+ private HistoryEvent startedEvent;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/UpdateDomainInfo.java b/src/gen/java/com/uber/cadence/entities/UpdateDomainInfo.java
new file mode 100644
index 000000000..405b1c662
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/UpdateDomainInfo.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class UpdateDomainInfo {
+ private String description;
+ private String ownerEmail;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class UpdateDomainRequest {
+ private String name;
+ private UpdateDomainInfo updatedInfo;
+ private DomainConfiguration configuration;
+ private DomainReplicationConfiguration replicationConfiguration;
+ private String securityToken;
+ private String deleteBadBinary;
+ private int failoverTimeoutInSeconds;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/UpdateDomainResponse.java b/src/gen/java/com/uber/cadence/entities/UpdateDomainResponse.java
new file mode 100644
index 000000000..dbe650401
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/UpdateDomainResponse.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class UpdateDomainResponse {
+ private DomainInfo domainInfo;
+ private DomainConfiguration configuration;
+ private DomainReplicationConfiguration replicationConfiguration;
+ private long failoverVersion;
+ private boolean isGlobalDomain;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/UpsertWorkflowSearchAttributesDecisionAttributes.java b/src/gen/java/com/uber/cadence/entities/UpsertWorkflowSearchAttributesDecisionAttributes.java
new file mode 100644
index 000000000..fed5e2e1b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/UpsertWorkflowSearchAttributesDecisionAttributes.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class UpsertWorkflowSearchAttributesDecisionAttributes {
+ private SearchAttributes searchAttributes;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/UpsertWorkflowSearchAttributesEventAttributes.java b/src/gen/java/com/uber/cadence/entities/UpsertWorkflowSearchAttributesEventAttributes.java
new file mode 100644
index 000000000..be525f6c3
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/UpsertWorkflowSearchAttributesEventAttributes.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class UpsertWorkflowSearchAttributesEventAttributes {
+ private long decisionTaskCompletedEventId;
+ private SearchAttributes searchAttributes;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/VersionHistories.java b/src/gen/java/com/uber/cadence/entities/VersionHistories.java
new file mode 100644
index 000000000..e2d06be99
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/VersionHistories.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class VersionHistories {
+ private int currentVersionHistoryIndex;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class VersionHistory {
+ private byte[] branchToken;
+ private List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class VersionHistoryItem {
+ private long eventID;
+ private long version;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkerVersionInfo.java b/src/gen/java/com/uber/cadence/entities/WorkerVersionInfo.java
new file mode 100644
index 000000000..2cf4ff2d4
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkerVersionInfo.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkerVersionInfo {
+ private String impl;
+ private String featureVersion;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecution.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecution.java
new file mode 100644
index 000000000..4de2905e8
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecution.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecution {
+ private String workflowId;
+ private String runId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionAlreadyCompletedError.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionAlreadyCompletedError.java
new file mode 100644
index 000000000..ba5e38864
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionAlreadyCompletedError.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+public class WorkflowExecutionAlreadyCompletedError extends BaseError {
+
+ public WorkflowExecutionAlreadyCompletedError() {
+ super();
+ }
+
+ public WorkflowExecutionAlreadyCompletedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public WorkflowExecutionAlreadyCompletedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionAlreadyStartedError.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionAlreadyStartedError.java
new file mode 100644
index 000000000..77605ded4
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionAlreadyStartedError.java
@@ -0,0 +1,42 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.experimental.Accessors;
+
+@Getter
+@Setter
+@Accessors(chain = true)
+@AllArgsConstructor
+public class WorkflowExecutionAlreadyStartedError extends BaseError {
+ private String startRequestId;
+ private String runId;
+
+ public WorkflowExecutionAlreadyStartedError() {
+ super();
+ }
+
+ public WorkflowExecutionAlreadyStartedError(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public WorkflowExecutionAlreadyStartedError(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCancelRequestedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCancelRequestedEventAttributes.java
new file mode 100644
index 000000000..7bac607f2
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCancelRequestedEventAttributes.java
@@ -0,0 +1,29 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionCancelRequestedEventAttributes {
+ private String cause;
+ private long externalInitiatedEventId;
+ private WorkflowExecution externalWorkflowExecution;
+ private String identity;
+ private String requestId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCanceledEventAttributes.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCanceledEventAttributes.java
new file mode 100644
index 000000000..01969a7c0
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCanceledEventAttributes.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionCanceledEventAttributes {
+ private long decisionTaskCompletedEventId;
+ private byte[] details;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCloseStatus.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCloseStatus.java
new file mode 100644
index 000000000..141c073d8
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCloseStatus.java
@@ -0,0 +1,24 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum WorkflowExecutionCloseStatus {
+ COMPLETED,
+ FAILED,
+ CANCELED,
+ TERMINATED,
+ CONTINUED_AS_NEW,
+ TIMED_OUT,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCompletedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCompletedEventAttributes.java
new file mode 100644
index 000000000..a08a206cf
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionCompletedEventAttributes.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionCompletedEventAttributes {
+ private byte[] result;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionConfiguration.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionConfiguration.java
new file mode 100644
index 000000000..ccd0f5529
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionConfiguration.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionConfiguration {
+ private TaskList taskList;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionContinuedAsNewEventAttributes.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionContinuedAsNewEventAttributes.java
new file mode 100644
index 000000000..3cf96e0aa
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionContinuedAsNewEventAttributes.java
@@ -0,0 +1,39 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionContinuedAsNewEventAttributes {
+ private String newExecutionRunId;
+ private WorkflowType workflowType;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private long decisionTaskCompletedEventId;
+ private int backoffStartIntervalInSeconds;
+ private ContinueAsNewInitiator initiator;
+ private String failureReason;
+ private byte[] failureDetails;
+ private byte[] lastCompletionResult;
+ private Header header;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionFailedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionFailedEventAttributes.java
new file mode 100644
index 000000000..d5d07e90b
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionFailedEventAttributes.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionFailedEventAttributes {
+ private String reason;
+ private byte[] details;
+ private long decisionTaskCompletedEventId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionFilter.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionFilter.java
new file mode 100644
index 000000000..f7a3cddc0
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionFilter.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionFilter {
+ private String workflowId;
+ private String runId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionInfo.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionInfo.java
new file mode 100644
index 000000000..d0b25e7ac
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionInfo.java
@@ -0,0 +1,42 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionInfo {
+ private WorkflowExecution execution;
+ private WorkflowType type;
+ private long startTime;
+ private long closeTime;
+ private WorkflowExecutionCloseStatus closeStatus;
+ private long historyLength;
+ private String parentDomainId;
+ private String parentDomainName;
+ private long parentInitatedId;
+ private WorkflowExecution parentExecution;
+ private long executionTime;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private ResetPoints autoResetPoints;
+ private String taskList;
+ private boolean isCron;
+ private long updateTime;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionSignaledEventAttributes {
+ private String signalName;
+ private byte[] input;
+ private String identity;
+ private String requestId;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionStartedEventAttributes.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionStartedEventAttributes.java
new file mode 100644
index 000000000..1dc0d9733
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionStartedEventAttributes.java
@@ -0,0 +1,52 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionStartedEventAttributes {
+ private WorkflowType workflowType;
+ private String parentWorkflowDomain;
+ private WorkflowExecution parentWorkflowExecution;
+ private long parentInitiatedEventId;
+ private TaskList taskList;
+ private byte[] input;
+ private int executionStartToCloseTimeoutSeconds;
+ private int taskStartToCloseTimeoutSeconds;
+ private String continuedExecutionRunId;
+ private ContinueAsNewInitiator initiator;
+ private String continuedFailureReason;
+ private byte[] continuedFailureDetails;
+ private byte[] lastCompletionResult;
+ private String originalExecutionRunId;
+ private String identity;
+ private String firstExecutionRunId;
+ private long firstScheduledTimeNano;
+ private RetryPolicy retryPolicy;
+ private int attempt;
+ private long expirationTimestamp;
+ private String cronSchedule;
+ private int firstDecisionTaskBackoffSeconds;
+ private Memo memo;
+ private SearchAttributes searchAttributes;
+ private ResetPoints prevAutoResetPoints;
+ private Header header;
+ private Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionTerminatedEventAttributes {
+ private String reason;
+ private byte[] details;
+ private String identity;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowExecutionTimedOutEventAttributes.java b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionTimedOutEventAttributes.java
new file mode 100644
index 000000000..5d802a36c
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowExecutionTimedOutEventAttributes.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowExecutionTimedOutEventAttributes {
+ private TimeoutType timeoutType;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowIdReusePolicy.java b/src/gen/java/com/uber/cadence/entities/WorkflowIdReusePolicy.java
new file mode 100644
index 000000000..23ddc9b44
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowIdReusePolicy.java
@@ -0,0 +1,22 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+public enum WorkflowIdReusePolicy {
+ AllowDuplicateFailedOnly,
+ AllowDuplicate,
+ RejectDuplicate,
+ TerminateIfRunning,
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowQuery.java b/src/gen/java/com/uber/cadence/entities/WorkflowQuery.java
new file mode 100644
index 000000000..d8bc4e56e
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowQuery.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowQuery {
+ private String queryType;
+ private byte[] queryArgs;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowQueryResult.java b/src/gen/java/com/uber/cadence/entities/WorkflowQueryResult.java
new file mode 100644
index 000000000..8f577547a
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowQueryResult.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowQueryResult {
+ private QueryResultType resultType;
+ private byte[] answer;
+ private String errorMessage;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowType.java b/src/gen/java/com/uber/cadence/entities/WorkflowType.java
new file mode 100644
index 000000000..88b8565aa
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowType.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowType {
+ private String name;
+}
diff --git a/src/gen/java/com/uber/cadence/entities/WorkflowTypeFilter.java b/src/gen/java/com/uber/cadence/entities/WorkflowTypeFilter.java
new file mode 100644
index 000000000..57b2584a7
--- /dev/null
+++ b/src/gen/java/com/uber/cadence/entities/WorkflowTypeFilter.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.entities;
+
+import java.util.*;
+import lombok.Data;
+import lombok.experimental.Accessors;
+
+@Data
+@Accessors(chain = true)
+public class WorkflowTypeFilter {
+ private String name;
+}
diff --git a/src/main/java/com/uber/cadence/internal/compatibility/proto/DecisionMapper.java b/src/main/java/com/uber/cadence/internal/compatibility/proto/DecisionMapper.java
index a3d5e5ca5..e26c75ad2 100644
--- a/src/main/java/com/uber/cadence/internal/compatibility/proto/DecisionMapper.java
+++ b/src/main/java/com/uber/cadence/internal/compatibility/proto/DecisionMapper.java
@@ -55,7 +55,7 @@ class DecisionMapper {
static List Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.internal.compatibility.proto.mappers;
+
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.archivalStatus;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.domainStatus;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.byteStringToArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.durationToDays;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.durationToSeconds;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.timeToUnixNano;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.toInt64Value;
+import static com.uber.cadence.internal.compatibility.proto.mappers.HistoryMapper.history;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.activityLocalDispatchInfoMap;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.activityType;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.badBinaries;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.clusterReplicationConfigurationArrayFromProto;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.dataBlobArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.describeDomainResponseArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.header;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.indexedValueTypeMap;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.payload;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.pendingActivityInfoArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.pendingChildExecutionInfoArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.pendingDecisionInfo;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.pollerInfoArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.queryRejected;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.supportedClientVersions;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.taskList;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.taskListPartitionMetadataArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.taskListStatus;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.workflowExecution;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.workflowExecutionConfiguration;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.workflowExecutionInfo;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.workflowExecutionInfoArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.workflowQuery;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.workflowQueryMap;
+import static com.uber.cadence.internal.compatibility.proto.mappers.TypeMapper.workflowType;
+
+import com.uber.cadence.api.v1.*;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+public class ResponseMapper {
+
+ public static com.uber.cadence.entities.StartWorkflowExecutionResponse
+ startWorkflowExecutionResponse(StartWorkflowExecutionResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.StartWorkflowExecutionResponse startWorkflowExecutionResponse =
+ new com.uber.cadence.entities.StartWorkflowExecutionResponse();
+ startWorkflowExecutionResponse.setRunId(t.getRunId());
+ return startWorkflowExecutionResponse;
+ }
+
+ public static com.uber.cadence.entities.StartWorkflowExecutionAsyncResponse
+ startWorkflowExecutionAsyncResponse(StartWorkflowExecutionAsyncResponse t) {
+ return t == null ? null : new com.uber.cadence.entities.StartWorkflowExecutionAsyncResponse();
+ }
+
+ public static com.uber.cadence.entities.DescribeTaskListResponse describeTaskListResponse(
+ DescribeTaskListResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.DescribeTaskListResponse describeTaskListResponse =
+ new com.uber.cadence.entities.DescribeTaskListResponse();
+ describeTaskListResponse.setPollers(pollerInfoArray(t.getPollersList()));
+ describeTaskListResponse.setTaskListStatus(taskListStatus(t.getTaskListStatus()));
+ return describeTaskListResponse;
+ }
+
+ public static com.uber.cadence.entities.RestartWorkflowExecutionResponse
+ restartWorkflowExecutionResponse(RestartWorkflowExecutionResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.RestartWorkflowExecutionResponse restartWorkflowExecutionResponse =
+ new com.uber.cadence.entities.RestartWorkflowExecutionResponse();
+ restartWorkflowExecutionResponse.setRunId(t.getRunId());
+ return restartWorkflowExecutionResponse;
+ }
+
+ public static com.uber.cadence.entities.DescribeWorkflowExecutionResponse
+ describeWorkflowExecutionResponse(DescribeWorkflowExecutionResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.DescribeWorkflowExecutionResponse describeWorkflowExecutionResponse =
+ new com.uber.cadence.entities.DescribeWorkflowExecutionResponse();
+ describeWorkflowExecutionResponse.setExecutionConfiguration(
+ workflowExecutionConfiguration(t.getExecutionConfiguration()));
+ describeWorkflowExecutionResponse.setWorkflowExecutionInfo(
+ workflowExecutionInfo(t.getWorkflowExecutionInfo()));
+ describeWorkflowExecutionResponse.setPendingActivities(
+ pendingActivityInfoArray(t.getPendingActivitiesList()));
+ describeWorkflowExecutionResponse.setPendingChildren(
+ pendingChildExecutionInfoArray(t.getPendingChildrenList()));
+ describeWorkflowExecutionResponse.setPendingDecision(
+ pendingDecisionInfo(t.getPendingDecision()));
+ return describeWorkflowExecutionResponse;
+ }
+
+ public static com.uber.cadence.entities.ClusterInfo getClusterInfoResponse(
+ GetClusterInfoResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ClusterInfo clusterInfo = new com.uber.cadence.entities.ClusterInfo();
+ clusterInfo.setSupportedClientVersions(supportedClientVersions(t.getSupportedClientVersions()));
+ return clusterInfo;
+ }
+
+ public static com.uber.cadence.entities.GetSearchAttributesResponse getSearchAttributesResponse(
+ GetSearchAttributesResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.GetSearchAttributesResponse getSearchAttributesResponse =
+ new com.uber.cadence.entities.GetSearchAttributesResponse();
+ getSearchAttributesResponse.setKeys(indexedValueTypeMap(t.getKeysMap()));
+ return getSearchAttributesResponse;
+ }
+
+ public static com.uber.cadence.entities.GetWorkflowExecutionHistoryResponse
+ getWorkflowExecutionHistoryResponse(GetWorkflowExecutionHistoryResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.GetWorkflowExecutionHistoryResponse
+ getWorkflowExecutionHistoryResponse =
+ new com.uber.cadence.entities.GetWorkflowExecutionHistoryResponse();
+ getWorkflowExecutionHistoryResponse.setHistory(history(t.getHistory()));
+ getWorkflowExecutionHistoryResponse.setRawHistory(dataBlobArray(t.getRawHistoryList()));
+ getWorkflowExecutionHistoryResponse.setNextPageToken(byteStringToArray(t.getNextPageToken()));
+ getWorkflowExecutionHistoryResponse.setArchived(t.getArchived());
+ return getWorkflowExecutionHistoryResponse;
+ }
+
+ public static com.uber.cadence.entities.ListArchivedWorkflowExecutionsResponse
+ listArchivedWorkflowExecutionsResponse(ListArchivedWorkflowExecutionsResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ListArchivedWorkflowExecutionsResponse res =
+ new com.uber.cadence.entities.ListArchivedWorkflowExecutionsResponse();
+ res.setExecutions(workflowExecutionInfoArray(t.getExecutionsList()));
+ res.setNextPageToken(byteStringToArray(t.getNextPageToken()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.ListClosedWorkflowExecutionsResponse
+ listClosedWorkflowExecutionsResponse(ListClosedWorkflowExecutionsResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ListClosedWorkflowExecutionsResponse res =
+ new com.uber.cadence.entities.ListClosedWorkflowExecutionsResponse();
+ res.setExecutions(workflowExecutionInfoArray(t.getExecutionsList()));
+ res.setNextPageToken(byteStringToArray(t.getNextPageToken()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.ListOpenWorkflowExecutionsResponse
+ listOpenWorkflowExecutionsResponse(ListOpenWorkflowExecutionsResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ListOpenWorkflowExecutionsResponse res =
+ new com.uber.cadence.entities.ListOpenWorkflowExecutionsResponse();
+ res.setExecutions(workflowExecutionInfoArray(t.getExecutionsList()));
+ res.setNextPageToken(byteStringToArray(t.getNextPageToken()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.ListTaskListPartitionsResponse
+ listTaskListPartitionsResponse(ListTaskListPartitionsResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ListTaskListPartitionsResponse res =
+ new com.uber.cadence.entities.ListTaskListPartitionsResponse();
+ res.setActivityTaskListPartitions(
+ taskListPartitionMetadataArray(t.getActivityTaskListPartitionsList()));
+ res.setDecisionTaskListPartitions(
+ taskListPartitionMetadataArray(t.getDecisionTaskListPartitionsList()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.ListWorkflowExecutionsResponse
+ listWorkflowExecutionsResponse(ListWorkflowExecutionsResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ListWorkflowExecutionsResponse res =
+ new com.uber.cadence.entities.ListWorkflowExecutionsResponse();
+ res.setExecutions(workflowExecutionInfoArray(t.getExecutionsList()));
+ res.setNextPageToken(byteStringToArray(t.getNextPageToken()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.PollForActivityTaskResponse pollForActivityTaskResponse(
+ PollForActivityTaskResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.PollForActivityTaskResponse res =
+ new com.uber.cadence.entities.PollForActivityTaskResponse();
+ res.setTaskToken(byteStringToArray(t.getTaskToken()));
+ res.setWorkflowExecution(workflowExecution(t.getWorkflowExecution()));
+ res.setActivityId(t.getActivityId());
+ res.setActivityType(activityType(t.getActivityType()));
+ res.setInput(payload(t.getInput()));
+ res.setScheduledTimestamp(timeToUnixNano(t.getScheduledTime()));
+ res.setStartedTimestamp(timeToUnixNano(t.getStartedTime()));
+ res.setScheduleToCloseTimeoutSeconds(durationToSeconds(t.getScheduleToCloseTimeout()));
+ res.setStartToCloseTimeoutSeconds(durationToSeconds(t.getStartToCloseTimeout()));
+ res.setHeartbeatTimeoutSeconds(durationToSeconds(t.getHeartbeatTimeout()));
+ res.setAttempt(t.getAttempt());
+ res.setScheduledTimestampOfThisAttempt(timeToUnixNano(t.getScheduledTimeOfThisAttempt()));
+ res.setHeartbeatDetails(payload(t.getHeartbeatDetails()));
+ res.setWorkflowType(workflowType(t.getWorkflowType()));
+ res.setWorkflowDomain(t.getWorkflowDomain());
+ res.setHeader(header(t.getHeader()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.PollForDecisionTaskResponse pollForDecisionTaskResponse(
+ PollForDecisionTaskResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.PollForDecisionTaskResponse res =
+ new com.uber.cadence.entities.PollForDecisionTaskResponse();
+ res.setTaskToken(byteStringToArray(t.getTaskToken()));
+ res.setWorkflowExecution(workflowExecution(t.getWorkflowExecution()));
+ res.setWorkflowType(workflowType(t.getWorkflowType()));
+ res.setPreviousStartedEventId(toInt64Value(t.getPreviousStartedEventId()));
+ res.setStartedEventId(t.getStartedEventId());
+ res.setAttempt(t.getAttempt());
+ res.setBacklogCountHint(t.getBacklogCountHint());
+ res.setHistory(history(t.getHistory()));
+ res.setNextPageToken(byteStringToArray(t.getNextPageToken()));
+ if (t.getQuery() != WorkflowQuery.getDefaultInstance()) {
+ res.setQuery(workflowQuery(t.getQuery()));
+ }
+ res.setWorkflowExecutionTaskList(taskList(t.getWorkflowExecutionTaskList()));
+ res.setScheduledTimestamp(timeToUnixNano(t.getScheduledTime()));
+ res.setStartedTimestamp(timeToUnixNano(t.getStartedTime()));
+ res.setQueries(workflowQueryMap(t.getQueriesMap()));
+ res.setNextEventId(t.getNextEventId());
+ return res;
+ }
+
+ public static com.uber.cadence.entities.QueryWorkflowResponse queryWorkflowResponse(
+ QueryWorkflowResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.QueryWorkflowResponse res =
+ new com.uber.cadence.entities.QueryWorkflowResponse();
+ res.setQueryResult(payload(t.getQueryResult()));
+ res.setQueryRejected(queryRejected(t.getQueryRejected()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse
+ recordActivityTaskHeartbeatByIdResponse(RecordActivityTaskHeartbeatByIDResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse res =
+ new com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse();
+ res.setCancelRequested(t.getCancelRequested());
+ return res;
+ }
+
+ public static com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse
+ recordActivityTaskHeartbeatResponse(RecordActivityTaskHeartbeatResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse res =
+ new com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse();
+ res.setCancelRequested(t.getCancelRequested());
+ return res;
+ }
+
+ public static com.uber.cadence.entities.ResetWorkflowExecutionResponse
+ resetWorkflowExecutionResponse(ResetWorkflowExecutionResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ResetWorkflowExecutionResponse res =
+ new com.uber.cadence.entities.ResetWorkflowExecutionResponse();
+ res.setRunId(t.getRunId());
+ return res;
+ }
+
+ public static com.uber.cadence.entities.RespondDecisionTaskCompletedResponse
+ respondDecisionTaskCompletedResponse(RespondDecisionTaskCompletedResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.RespondDecisionTaskCompletedResponse res =
+ new com.uber.cadence.entities.RespondDecisionTaskCompletedResponse();
+ res.setDecisionTask(pollForDecisionTaskResponse(t.getDecisionTask()));
+ res.setActivitiesToDispatchLocally(
+ activityLocalDispatchInfoMap(t.getActivitiesToDispatchLocallyMap()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.ListWorkflowExecutionsResponse
+ scanWorkflowExecutionsResponse(ScanWorkflowExecutionsResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ListWorkflowExecutionsResponse res =
+ new com.uber.cadence.entities.ListWorkflowExecutionsResponse();
+ res.setExecutions(workflowExecutionInfoArray(t.getExecutionsList()));
+ res.setNextPageToken(byteStringToArray(t.getNextPageToken()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.CountWorkflowExecutionsResponse
+ countWorkflowExecutionsResponse(CountWorkflowExecutionsResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.CountWorkflowExecutionsResponse res =
+ new com.uber.cadence.entities.CountWorkflowExecutionsResponse();
+ res.setCount(t.getCount());
+ return res;
+ }
+
+ public static com.uber.cadence.entities.DescribeDomainResponse describeDomainResponse(
+ DescribeDomainResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.DescribeDomainResponse response =
+ new com.uber.cadence.entities.DescribeDomainResponse();
+ com.uber.cadence.entities.DomainInfo domainInfo = new com.uber.cadence.entities.DomainInfo();
+ response.setDomainInfo(domainInfo);
+
+ domainInfo.setName(t.getDomain().getName());
+ domainInfo.setStatus(domainStatus(t.getDomain().getStatus()));
+ domainInfo.setDescription(t.getDomain().getDescription());
+ domainInfo.setOwnerEmail(t.getDomain().getOwnerEmail());
+ domainInfo.setData(t.getDomain().getDataMap());
+ domainInfo.setUuid(t.getDomain().getId());
+
+ com.uber.cadence.entities.DomainConfiguration domainConfiguration =
+ new com.uber.cadence.entities.DomainConfiguration();
+ response.setConfiguration(domainConfiguration);
+
+ domainConfiguration.setWorkflowExecutionRetentionPeriodInDays(
+ durationToDays(t.getDomain().getWorkflowExecutionRetentionPeriod()));
+ domainConfiguration.setEmitMetric(true);
+ domainConfiguration.setBadBinaries(badBinaries(t.getDomain().getBadBinaries()));
+ domainConfiguration.setHistoryArchivalStatus(
+ archivalStatus(t.getDomain().getHistoryArchivalStatus()));
+ domainConfiguration.setHistoryArchivalURI(t.getDomain().getHistoryArchivalUri());
+ domainConfiguration.setVisibilityArchivalStatus(
+ archivalStatus(t.getDomain().getVisibilityArchivalStatus()));
+ domainConfiguration.setVisibilityArchivalURI(t.getDomain().getVisibilityArchivalUri());
+
+ com.uber.cadence.entities.DomainReplicationConfiguration replicationConfiguration =
+ new com.uber.cadence.entities.DomainReplicationConfiguration();
+ response.setReplicationConfiguration(replicationConfiguration);
+
+ replicationConfiguration.setActiveClusterName(t.getDomain().getActiveClusterName());
+ replicationConfiguration.setClusters(
+ clusterReplicationConfigurationArrayFromProto(t.getDomain().getClustersList()));
+
+ response.setFailoverVersion(t.getDomain().getFailoverVersion());
+ response.setGlobalDomain(t.getDomain().getIsGlobalDomain());
+ return response;
+ }
+
+ public static com.uber.cadence.entities.ListDomainsResponse listDomainsResponse(
+ ListDomainsResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ListDomainsResponse res =
+ new com.uber.cadence.entities.ListDomainsResponse();
+ res.setDomains(describeDomainResponseArray(t.getDomainsList()));
+ res.setNextPageToken(byteStringToArray(t.getNextPageToken()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.StartWorkflowExecutionResponse
+ signalWithStartWorkflowExecutionResponse(SignalWithStartWorkflowExecutionResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.StartWorkflowExecutionResponse startWorkflowExecutionResponse =
+ new com.uber.cadence.entities.StartWorkflowExecutionResponse();
+ startWorkflowExecutionResponse.setRunId(t.getRunId());
+ return startWorkflowExecutionResponse;
+ }
+
+ public static com.uber.cadence.entities.SignalWithStartWorkflowExecutionAsyncResponse
+ signalWithStartWorkflowExecutionAsyncResponse(
+ SignalWithStartWorkflowExecutionAsyncResponse t) {
+ return t == null
+ ? null
+ : new com.uber.cadence.entities.SignalWithStartWorkflowExecutionAsyncResponse();
+ }
+
+ public static com.uber.cadence.entities.UpdateDomainResponse updateDomainResponse(
+ UpdateDomainResponse t) {
+ if (t == null) {
+ return null;
+ }
+ com.uber.cadence.entities.UpdateDomainResponse updateDomainResponse =
+ new com.uber.cadence.entities.UpdateDomainResponse();
+ com.uber.cadence.entities.DomainInfo domainInfo = new com.uber.cadence.entities.DomainInfo();
+ updateDomainResponse.setDomainInfo(domainInfo);
+
+ domainInfo.setName(t.getDomain().getName());
+ domainInfo.setStatus(domainStatus(t.getDomain().getStatus()));
+ domainInfo.setDescription(t.getDomain().getDescription());
+ domainInfo.setOwnerEmail(t.getDomain().getOwnerEmail());
+ domainInfo.setData(t.getDomain().getDataMap());
+ domainInfo.setUuid(t.getDomain().getId());
+
+ com.uber.cadence.entities.DomainConfiguration domainConfiguration =
+ new com.uber.cadence.entities.DomainConfiguration();
+ updateDomainResponse.setConfiguration(domainConfiguration);
+
+ domainConfiguration.setWorkflowExecutionRetentionPeriodInDays(
+ durationToDays(t.getDomain().getWorkflowExecutionRetentionPeriod()));
+ domainConfiguration.setEmitMetric(true);
+ domainConfiguration.setBadBinaries(badBinaries(t.getDomain().getBadBinaries()));
+ domainConfiguration.setHistoryArchivalStatus(
+ archivalStatus(t.getDomain().getHistoryArchivalStatus()));
+ domainConfiguration.setHistoryArchivalURI(t.getDomain().getHistoryArchivalUri());
+ domainConfiguration.setVisibilityArchivalStatus(
+ archivalStatus(t.getDomain().getVisibilityArchivalStatus()));
+ domainConfiguration.setVisibilityArchivalURI(t.getDomain().getVisibilityArchivalUri());
+
+ com.uber.cadence.entities.DomainReplicationConfiguration domainReplicationConfiguration =
+ new com.uber.cadence.entities.DomainReplicationConfiguration();
+ updateDomainResponse.setReplicationConfiguration(domainReplicationConfiguration);
+
+ domainReplicationConfiguration.setActiveClusterName(t.getDomain().getActiveClusterName());
+ domainReplicationConfiguration.setClusters(
+ clusterReplicationConfigurationArrayFromProto(t.getDomain().getClustersList()));
+ updateDomainResponse.setFailoverVersion(t.getDomain().getFailoverVersion());
+ updateDomainResponse.setGlobalDomain(t.getDomain().getIsGlobalDomain());
+ return updateDomainResponse;
+ }
+
+ public static com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse
+ recordActivityTaskHeartbeatResponse(
+ RecordActivityTaskHeartbeatByIDResponse recordActivityTaskHeartbeatByID) {
+ if (recordActivityTaskHeartbeatByID == null) {
+ return null;
+ }
+ com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse res =
+ new com.uber.cadence.entities.RecordActivityTaskHeartbeatResponse();
+ res.setCancelRequested(recordActivityTaskHeartbeatByID.getCancelRequested());
+ return res;
+ }
+
+ public static com.uber.cadence.entities.ResetStickyTaskListResponse resetStickyTaskListResponse(
+ ResetStickyTaskListResponse resetStickyTaskList) {
+ if (resetStickyTaskList == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ResetStickyTaskListResponse res =
+ new com.uber.cadence.entities.ResetStickyTaskListResponse();
+ return res;
+ }
+
+ public static com.uber.cadence.entities.ClusterInfo clusterInfoResponse(
+ GetClusterInfoResponse clusterInfo) {
+ if (clusterInfo == null) {
+ return null;
+ }
+ com.uber.cadence.entities.ClusterInfo res = new com.uber.cadence.entities.ClusterInfo();
+ res.setSupportedClientVersions(
+ TypeMapper.supportedClientVersions(clusterInfo.getSupportedClientVersions()));
+ return res;
+ }
+
+ public static com.uber.cadence.entities.GetTaskListsByDomainResponse getTaskListsByDomainResponse(
+ GetTaskListsByDomainResponse taskListsByDomain) {
+ if (taskListsByDomain == null) {
+ return null;
+ }
+ com.uber.cadence.entities.GetTaskListsByDomainResponse res =
+ new com.uber.cadence.entities.GetTaskListsByDomainResponse();
+
+ res.setActivityTaskListMap(
+ taskListsByDomain
+ .getActivityTaskListMapMap()
+ .entrySet()
+ .stream()
+ .collect(
+ Collectors.toMap(Map.Entry::getKey, e -> describeTaskListResponse(e.getValue()))));
+ res.setDecisionTaskListMap(
+ taskListsByDomain
+ .getDecisionTaskListMapMap()
+ .entrySet()
+ .stream()
+ .collect(
+ Collectors.toMap(Map.Entry::getKey, e -> describeTaskListResponse(e.getValue()))));
+ return res;
+ }
+}
diff --git a/src/main/java/com/uber/cadence/internal/compatibility/proto/mappers/TypeMapper.java b/src/main/java/com/uber/cadence/internal/compatibility/proto/mappers/TypeMapper.java
new file mode 100644
index 000000000..206488017
--- /dev/null
+++ b/src/main/java/com/uber/cadence/internal/compatibility/proto/mappers/TypeMapper.java
@@ -0,0 +1,931 @@
+/*
+ * Modifications Copyright (c) 2017-2021 Uber Technologies Inc.
+ * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not
+ * use this file except in compliance with the License. A copy of the License is
+ * located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+package com.uber.cadence.internal.compatibility.proto.mappers;
+
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.archivalStatus;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.domainStatus;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.encodingType;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.indexedValueType;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.parentClosePolicy;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.pendingActivityState;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.pendingDecisionState;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.queryResultType;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.taskListKind;
+import static com.uber.cadence.internal.compatibility.proto.mappers.EnumMapper.workflowExecutionCloseStatus;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.arrayToByteString;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.byteStringToArray;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.durationToDays;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.durationToSeconds;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.fromDoubleValue;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.secondsToDuration;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.timeToUnixNano;
+import static com.uber.cadence.internal.compatibility.proto.mappers.Helpers.unixNanoToTime;
+
+import com.google.common.base.Strings;
+import com.uber.cadence.api.v1.*;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+class TypeMapper {
+
+ static BadBinaryInfo badBinaryInfo(com.uber.cadence.entities.BadBinaryInfo t) {
+ if (t == null) {
+ return null;
+ }
+ return BadBinaryInfo.newBuilder()
+ .setReason(t.getReason())
+ .setOperator(t.getOperator())
+ .setCreatedTime(unixNanoToTime(t.getCreatedTimeNano()))
+ .build();
+ }
+
+ static Payload payload(byte[] data) {
+ if (data == null) {
+ return Payload.newBuilder().build();
+ }
+ return Payload.newBuilder().setData(arrayToByteString(data)).build();
+ }
+
+ static Failure failure(String reason, byte[] details) {
+ if (reason == null) {
+ return Failure.newBuilder().build();
+ }
+ return Failure.newBuilder().setReason(reason).setDetails(arrayToByteString(details)).build();
+ }
+
+ static WorkflowExecution workflowExecution(com.uber.cadence.entities.WorkflowExecution t) {
+ if (t == null) {
+ return WorkflowExecution.newBuilder().build();
+ }
+ if (t.getWorkflowId() == null && t.getRunId() == null) {
+ return WorkflowExecution.newBuilder().build();
+ }
+ WorkflowExecution.Builder builder =
+ WorkflowExecution.newBuilder().setWorkflowId(t.getWorkflowId());
+ if (t.getRunId() != null) {
+ builder.setRunId(t.getRunId());
+ }
+ return builder.build();
+ }
+
+ static WorkflowExecution workflowRunPair(String workflowId, String runId) {
+ if (Strings.isNullOrEmpty(workflowId) && Strings.isNullOrEmpty(runId)) {
+ return WorkflowExecution.newBuilder().build();
+ }
+ return WorkflowExecution.newBuilder().setWorkflowId(workflowId).setRunId(runId).build();
+ }
+
+ static ActivityType activityType(com.uber.cadence.entities.ActivityType t) {
+ if (t == null) {
+ return ActivityType.newBuilder().build();
+ }
+ return ActivityType.newBuilder().setName(t.getName()).build();
+ }
+
+ static WorkflowType workflowType(com.uber.cadence.entities.WorkflowType t) {
+ if (t == null) {
+ return WorkflowType.newBuilder().build();
+ }
+ return WorkflowType.newBuilder().setName(t.getName()).build();
+ }
+
+ static TaskList taskList(com.uber.cadence.entities.TaskList t) {
+ if (t == null) {
+ return TaskList.newBuilder().build();
+ }
+ return TaskList.newBuilder().setName(t.getName()).setKind(taskListKind(t.getKind())).build();
+ }
+
+ static TaskListMetadata taskListMetadata(com.uber.cadence.entities.TaskListMetadata t) {
+ if (t == null) {
+ return TaskListMetadata.newBuilder().build();
+ }
+ return TaskListMetadata.newBuilder()
+ .setMaxTasksPerSecond(fromDoubleValue(t.getMaxTasksPerSecond()))
+ .build();
+ }
+
+ static RetryPolicy retryPolicy(com.uber.cadence.entities.RetryPolicy t) {
+ if (t == null) {
+ return null;
+ }
+ RetryPolicy.Builder builder =
+ RetryPolicy.newBuilder()
+ .setInitialInterval(secondsToDuration(t.getInitialIntervalInSeconds()))
+ .setBackoffCoefficient(t.getBackoffCoefficient())
+ .setMaximumInterval(secondsToDuration(t.getMaximumIntervalInSeconds()))
+ .setMaximumAttempts(t.getMaximumAttempts())
+ .setExpirationInterval(secondsToDuration(t.getExpirationIntervalInSeconds()));
+ if (t.getNonRetriableErrorReasons() != null) {
+ builder.addAllNonRetryableErrorReasons(t.getNonRetriableErrorReasons());
+ }
+ return builder.build();
+ }
+
+ static Header header(com.uber.cadence.entities.Header t) {
+ if (t == null) {
+ return Header.newBuilder().build();
+ }
+ return Header.newBuilder().putAllFields(payloadByteBufferMap(t.getFields())).build();
+ }
+
+ static Memo memo(com.uber.cadence.entities.Memo t) {
+ if (t == null) {
+ return Memo.newBuilder().build();
+ }
+ return Memo.newBuilder().putAllFields(payloadByteBufferMap(t.getFields())).build();
+ }
+
+ static SearchAttributes searchAttributes(com.uber.cadence.entities.SearchAttributes t) {
+ if (t == null) {
+ return SearchAttributes.newBuilder().build();
+ }
+ return SearchAttributes.newBuilder()
+ .putAllIndexedFields(payloadByteBufferMap(t.getIndexedFields()))
+ .build();
+ }
+
+ static BadBinaries badBinaries(com.uber.cadence.entities.BadBinaries t) {
+ if (t == null) {
+ return BadBinaries.newBuilder().build();
+ }
+ return BadBinaries.newBuilder().putAllBinaries(badBinaryInfoMap(t.getBinaries())).build();
+ }
+
+ static ClusterReplicationConfiguration clusterReplicationConfiguration(
+ com.uber.cadence.entities.ClusterReplicationConfiguration t) {
+ if (t == null) {
+ return ClusterReplicationConfiguration.newBuilder().build();
+ }
+ return ClusterReplicationConfiguration.newBuilder().setClusterName(t.getClusterName()).build();
+ }
+
+ static WorkflowQuery workflowQuery(com.uber.cadence.entities.WorkflowQuery t) {
+ if (t == null) {
+ return null;
+ }
+ return WorkflowQuery.newBuilder()
+ .setQueryType(t.getQueryType())
+ .setQueryArgs(payload(t.getQueryArgs()))
+ .build();
+ }
+
+ static WorkflowQueryResult workflowQueryResult(com.uber.cadence.entities.WorkflowQueryResult t) {
+ if (t == null) {
+ return WorkflowQueryResult.newBuilder().build();
+ }
+ return WorkflowQueryResult.newBuilder()
+ .setResultType(queryResultType(t.getResultType()))
+ .setAnswer(payload(t.getAnswer()))
+ .setErrorMessage(t.getErrorMessage())
+ .build();
+ }
+
+ static StickyExecutionAttributes stickyExecutionAttributes(
+ com.uber.cadence.entities.StickyExecutionAttributes t) {
+ if (t == null) {
+ return StickyExecutionAttributes.newBuilder().build();
+ }
+ return StickyExecutionAttributes.newBuilder()
+ .setWorkerTaskList(taskList(t.getWorkerTaskList()))
+ .setScheduleToStartTimeout(secondsToDuration(t.getScheduleToStartTimeoutSeconds()))
+ .build();
+ }
+
+ static WorkerVersionInfo workerVersionInfo(com.uber.cadence.entities.WorkerVersionInfo t) {
+ if (t == null) {
+ return WorkerVersionInfo.newBuilder().build();
+ }
+ return WorkerVersionInfo.newBuilder()
+ .setImpl(t.getImpl())
+ .setFeatureVersion(t.getFeatureVersion())
+ .build();
+ }
+
+ static StartTimeFilter startTimeFilter(com.uber.cadence.entities.StartTimeFilter t) {
+ if (t == null) {
+ return null;
+ }
+ return StartTimeFilter.newBuilder()
+ .setEarliestTime(unixNanoToTime(t.getEarliestTime()))
+ .setLatestTime(unixNanoToTime(t.getLatestTime()))
+ .build();
+ }
+
+ static WorkflowExecutionFilter workflowExecutionFilter(
+ com.uber.cadence.entities.WorkflowExecutionFilter t) {
+ if (t == null) {
+ return WorkflowExecutionFilter.newBuilder().build();
+ }
+ return WorkflowExecutionFilter.newBuilder()
+ .setWorkflowId(t.getWorkflowId())
+ .setRunId(t.getRunId())
+ .build();
+ }
+
+ static WorkflowTypeFilter workflowTypeFilter(com.uber.cadence.entities.WorkflowTypeFilter t) {
+ if (t == null) {
+ return WorkflowTypeFilter.newBuilder().build();
+ }
+ return WorkflowTypeFilter.newBuilder().setName(t.getName()).build();
+ }
+
+ static StatusFilter statusFilter(com.uber.cadence.entities.WorkflowExecutionCloseStatus t) {
+ if (t == null) {
+ return null;
+ }
+ return StatusFilter.newBuilder().setStatus(workflowExecutionCloseStatus(t)).build();
+ }
+
+ static Map Modifications copyright (C) 2017 Uber Technologies, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
+ * except in compliance with the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package com.uber.cadence.serviceclient;
+
+public interface AsyncMethodCallback