Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* Namespace of the child workflow.
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
*
*
* string namespace = 1;
* @return The bytes for namespace.
*/
public com.google.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAMESPACE_ID_FIELD_NUMBER = 6;
private volatile java.lang.Object namespaceId_;
/**
* string namespace_id = 6;
* @return The namespaceId.
*/
public java.lang.String getNamespaceId() {
java.lang.Object ref = namespaceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
namespaceId_ = s;
return s;
}
}
/**
* string namespace_id = 6;
* @return The bytes for namespaceId.
*/
public com.google.protobuf.ByteString
getNamespaceIdBytes() {
java.lang.Object ref = namespaceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespaceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WORKFLOW_EXECUTION_FIELD_NUMBER = 2;
private io.temporal.api.common.v1.WorkflowExecution workflowExecution_;
/**
* .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
* @return Whether the workflowExecution field is set.
*/
public boolean hasWorkflowExecution() {
return workflowExecution_ != null;
}
/**
* .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
* @return The workflowExecution.
*/
public io.temporal.api.common.v1.WorkflowExecution getWorkflowExecution() {
return workflowExecution_ == null ? io.temporal.api.common.v1.WorkflowExecution.getDefaultInstance() : workflowExecution_;
}
/**
* .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
*/
public io.temporal.api.common.v1.WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder() {
return getWorkflowExecution();
}
public static final int WORKFLOW_TYPE_FIELD_NUMBER = 3;
private io.temporal.api.common.v1.WorkflowType workflowType_;
/**
* .temporal.api.common.v1.WorkflowType workflow_type = 3;
* @return Whether the workflowType field is set.
*/
public boolean hasWorkflowType() {
return workflowType_ != null;
}
/**
* .temporal.api.common.v1.WorkflowType workflow_type = 3;
* @return The workflowType.
*/
public io.temporal.api.common.v1.WorkflowType getWorkflowType() {
return workflowType_ == null ? io.temporal.api.common.v1.WorkflowType.getDefaultInstance() : workflowType_;
}
/**
* .temporal.api.common.v1.WorkflowType workflow_type = 3;
*/
public io.temporal.api.common.v1.WorkflowTypeOrBuilder getWorkflowTypeOrBuilder() {
return getWorkflowType();
}
public static final int INITIATED_EVENT_ID_FIELD_NUMBER = 4;
private long initiatedEventId_;
/**
*
* Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
*
*
* int64 initiated_event_id = 4;
* @return The initiatedEventId.
*/
public long getInitiatedEventId() {
return initiatedEventId_;
}
public static final int STARTED_EVENT_ID_FIELD_NUMBER = 5;
private long startedEventId_;
/**
*
* Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
*
*
* int64 started_event_id = 5;
* @return The startedEventId.
*/
public long getStartedEventId() {
return startedEventId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNamespaceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namespace_);
}
if (workflowExecution_ != null) {
output.writeMessage(2, getWorkflowExecution());
}
if (workflowType_ != null) {
output.writeMessage(3, getWorkflowType());
}
if (initiatedEventId_ != 0L) {
output.writeInt64(4, initiatedEventId_);
}
if (startedEventId_ != 0L) {
output.writeInt64(5, startedEventId_);
}
if (!getNamespaceIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, namespaceId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNamespaceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, namespace_);
}
if (workflowExecution_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getWorkflowExecution());
}
if (workflowType_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getWorkflowType());
}
if (initiatedEventId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, initiatedEventId_);
}
if (startedEventId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, startedEventId_);
}
if (!getNamespaceIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, namespaceId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes)) {
return super.equals(obj);
}
io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes other = (io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) obj;
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (!getNamespaceId()
.equals(other.getNamespaceId())) return false;
if (hasWorkflowExecution() != other.hasWorkflowExecution()) return false;
if (hasWorkflowExecution()) {
if (!getWorkflowExecution()
.equals(other.getWorkflowExecution())) return false;
}
if (hasWorkflowType() != other.hasWorkflowType()) return false;
if (hasWorkflowType()) {
if (!getWorkflowType()
.equals(other.getWorkflowType())) return false;
}
if (getInitiatedEventId()
!= other.getInitiatedEventId()) return false;
if (getStartedEventId()
!= other.getStartedEventId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
hash = (37 * hash) + NAMESPACE_ID_FIELD_NUMBER;
hash = (53 * hash) + getNamespaceId().hashCode();
if (hasWorkflowExecution()) {
hash = (37 * hash) + WORKFLOW_EXECUTION_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecution().hashCode();
}
if (hasWorkflowType()) {
hash = (37 * hash) + WORKFLOW_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowType().hashCode();
}
hash = (37 * hash) + INITIATED_EVENT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInitiatedEventId());
hash = (37 * hash) + STARTED_EVENT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartedEventId());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes)
io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.temporal.api.history.v1.MessageProto.internal_static_temporal_api_history_v1_ChildWorkflowExecutionTerminatedEventAttributes_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.history.v1.MessageProto.internal_static_temporal_api_history_v1_ChildWorkflowExecutionTerminatedEventAttributes_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.class, io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.Builder.class);
}
// Construct using io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
namespace_ = "";
namespaceId_ = "";
if (workflowExecutionBuilder_ == null) {
workflowExecution_ = null;
} else {
workflowExecution_ = null;
workflowExecutionBuilder_ = null;
}
if (workflowTypeBuilder_ == null) {
workflowType_ = null;
} else {
workflowType_ = null;
workflowTypeBuilder_ = null;
}
initiatedEventId_ = 0L;
startedEventId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.temporal.api.history.v1.MessageProto.internal_static_temporal_api_history_v1_ChildWorkflowExecutionTerminatedEventAttributes_descriptor;
}
@java.lang.Override
public io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes getDefaultInstanceForType() {
return io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.getDefaultInstance();
}
@java.lang.Override
public io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes build() {
io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes buildPartial() {
io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes result = new io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes(this);
result.namespace_ = namespace_;
result.namespaceId_ = namespaceId_;
if (workflowExecutionBuilder_ == null) {
result.workflowExecution_ = workflowExecution_;
} else {
result.workflowExecution_ = workflowExecutionBuilder_.build();
}
if (workflowTypeBuilder_ == null) {
result.workflowType_ = workflowType_;
} else {
result.workflowType_ = workflowTypeBuilder_.build();
}
result.initiatedEventId_ = initiatedEventId_;
result.startedEventId_ = startedEventId_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) {
return mergeFrom((io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes other) {
if (other == io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.getDefaultInstance()) return this;
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
onChanged();
}
if (!other.getNamespaceId().isEmpty()) {
namespaceId_ = other.namespaceId_;
onChanged();
}
if (other.hasWorkflowExecution()) {
mergeWorkflowExecution(other.getWorkflowExecution());
}
if (other.hasWorkflowType()) {
mergeWorkflowType(other.getWorkflowType());
}
if (other.getInitiatedEventId() != 0L) {
setInitiatedEventId(other.getInitiatedEventId());
}
if (other.getStartedEventId() != 0L) {
setStartedEventId(other.getStartedEventId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object namespace_ = "";
/**
*
* Namespace of the child workflow.
* SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
*