io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bpms-protobuf-api Show documentation
Show all versions of bpms-protobuf-api Show documentation
Protobuf classes for efficient transmission of the BPMS events
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v1.proto
package io.vanillabp.cockpit.bpms.api.protobuf.v1;
/**
* Protobuf type {@code WorkflowCancelledEvent}
*/
public final class WorkflowCancelledEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WorkflowCancelledEvent)
WorkflowCancelledEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use WorkflowCancelledEvent.newBuilder() to construct.
private WorkflowCancelledEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WorkflowCancelledEvent() {
id_ = "";
apiVersion_ = "";
workflowId_ = "";
initiator_ = "";
source_ = "";
comment_ = "";
bpmnProcessId_ = "";
bpmnProcessVersion_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WorkflowCancelledEvent();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCancelledEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCancelledEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent.class, io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
/**
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
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();
id_ = s;
return s;
}
}
/**
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int API_VERSION_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object apiVersion_ = "";
/**
* string api_version = 2;
* @return The apiVersion.
*/
@java.lang.Override
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
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();
apiVersion_ = s;
return s;
}
}
/**
* string api_version = 2;
* @return The bytes for apiVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getApiVersionBytes() {
java.lang.Object ref = apiVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
apiVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WORKFLOW_ID_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object workflowId_ = "";
/**
* string workflow_id = 3;
* @return The workflowId.
*/
@java.lang.Override
public java.lang.String getWorkflowId() {
java.lang.Object ref = workflowId_;
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();
workflowId_ = s;
return s;
}
}
/**
* string workflow_id = 3;
* @return The bytes for workflowId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkflowIdBytes() {
java.lang.Object ref = workflowId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TIMESTAMP_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp timestamp_;
/**
* .google.protobuf.Timestamp timestamp = 4;
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return timestamp_ != null;
}
/**
* .google.protobuf.Timestamp timestamp = 4;
* @return The timestamp.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getTimestamp() {
return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_;
}
/**
* .google.protobuf.Timestamp timestamp = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() {
return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_;
}
public static final int INITIATOR_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object initiator_ = "";
/**
* optional string initiator = 5;
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string initiator = 5;
* @return The initiator.
*/
@java.lang.Override
public java.lang.String getInitiator() {
java.lang.Object ref = initiator_;
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();
initiator_ = s;
return s;
}
}
/**
* optional string initiator = 5;
* @return The bytes for initiator.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInitiatorBytes() {
java.lang.Object ref = initiator_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
initiator_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCE_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object source_ = "";
/**
* optional string source = 6;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string source = 6;
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
java.lang.Object ref = source_;
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();
source_ = s;
return s;
}
}
/**
* optional string source = 6;
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMMENT_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object comment_ = "";
/**
* optional string comment = 7;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string comment = 7;
* @return The comment.
*/
@java.lang.Override
public java.lang.String getComment() {
java.lang.Object ref = comment_;
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();
comment_ = s;
return s;
}
}
/**
* optional string comment = 7;
* @return The bytes for comment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = comment_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
comment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BPMN_PROCESS_ID_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object bpmnProcessId_ = "";
/**
* optional string bpmn_process_id = 8;
* @return Whether the bpmnProcessId field is set.
*/
@java.lang.Override
public boolean hasBpmnProcessId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string bpmn_process_id = 8;
* @return The bpmnProcessId.
*/
@java.lang.Override
public java.lang.String getBpmnProcessId() {
java.lang.Object ref = bpmnProcessId_;
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();
bpmnProcessId_ = s;
return s;
}
}
/**
* optional string bpmn_process_id = 8;
* @return The bytes for bpmnProcessId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBpmnProcessIdBytes() {
java.lang.Object ref = bpmnProcessId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bpmnProcessId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BPMN_PROCESS_VERSION_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object bpmnProcessVersion_ = "";
/**
* optional string bpmn_process_version = 9;
* @return Whether the bpmnProcessVersion field is set.
*/
@java.lang.Override
public boolean hasBpmnProcessVersion() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string bpmn_process_version = 9;
* @return The bpmnProcessVersion.
*/
@java.lang.Override
public java.lang.String getBpmnProcessVersion() {
java.lang.Object ref = bpmnProcessVersion_;
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();
bpmnProcessVersion_ = s;
return s;
}
}
/**
* optional string bpmn_process_version = 9;
* @return The bytes for bpmnProcessVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBpmnProcessVersionBytes() {
java.lang.Object ref = bpmnProcessVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bpmnProcessVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, apiVersion_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workflowId_);
}
if (timestamp_ != null) {
output.writeMessage(4, getTimestamp());
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, initiator_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, source_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, comment_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, bpmnProcessId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, bpmnProcessVersion_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, apiVersion_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workflowId_);
}
if (timestamp_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTimestamp());
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, initiator_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, source_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, comment_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, bpmnProcessId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bpmnProcessVersion_);
}
size += getUnknownFields().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.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent)) {
return super.equals(obj);
}
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent other = (io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getApiVersion()
.equals(other.getApiVersion())) return false;
if (!getWorkflowId()
.equals(other.getWorkflowId())) return false;
if (hasTimestamp() != other.hasTimestamp()) return false;
if (hasTimestamp()) {
if (!getTimestamp()
.equals(other.getTimestamp())) return false;
}
if (hasInitiator() != other.hasInitiator()) return false;
if (hasInitiator()) {
if (!getInitiator()
.equals(other.getInitiator())) return false;
}
if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
if (!getSource()
.equals(other.getSource())) return false;
}
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasBpmnProcessId() != other.hasBpmnProcessId()) return false;
if (hasBpmnProcessId()) {
if (!getBpmnProcessId()
.equals(other.getBpmnProcessId())) return false;
}
if (hasBpmnProcessVersion() != other.hasBpmnProcessVersion()) return false;
if (hasBpmnProcessVersion()) {
if (!getBpmnProcessVersion()
.equals(other.getBpmnProcessVersion())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + API_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getApiVersion().hashCode();
hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowId().hashCode();
if (hasTimestamp()) {
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimestamp().hashCode();
}
if (hasInitiator()) {
hash = (37 * hash) + INITIATOR_FIELD_NUMBER;
hash = (53 * hash) + getInitiator().hashCode();
}
if (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasBpmnProcessId()) {
hash = (37 * hash) + BPMN_PROCESS_ID_FIELD_NUMBER;
hash = (53 * hash) + getBpmnProcessId().hashCode();
}
if (hasBpmnProcessVersion()) {
hash = (37 * hash) + BPMN_PROCESS_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getBpmnProcessVersion().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent 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.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent 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.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent 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.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent 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 WorkflowCancelledEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WorkflowCancelledEvent)
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCancelledEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCancelledEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent.class, io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent.Builder.class);
}
// Construct using io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ = "";
apiVersion_ = "";
workflowId_ = "";
timestamp_ = null;
if (timestampBuilder_ != null) {
timestampBuilder_.dispose();
timestampBuilder_ = null;
}
initiator_ = "";
source_ = "";
comment_ = "";
bpmnProcessId_ = "";
bpmnProcessVersion_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCancelledEvent_descriptor;
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent getDefaultInstanceForType() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent.getDefaultInstance();
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent build() {
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent buildPartial() {
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent result = new io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.apiVersion_ = apiVersion_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.workflowId_ = workflowId_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.timestamp_ = timestampBuilder_ == null
? timestamp_
: timestampBuilder_.build();
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.initiator_ = initiator_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.source_ = source_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.comment_ = comment_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.bpmnProcessId_ = bpmnProcessId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.bpmnProcessVersion_ = bpmnProcessVersion_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent) {
return mergeFrom((io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent other) {
if (other == io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getApiVersion().isEmpty()) {
apiVersion_ = other.apiVersion_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getWorkflowId().isEmpty()) {
workflowId_ = other.workflowId_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasTimestamp()) {
mergeTimestamp(other.getTimestamp());
}
if (other.hasInitiator()) {
initiator_ = other.initiator_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasSource()) {
source_ = other.source_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasComment()) {
comment_ = other.comment_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasBpmnProcessId()) {
bpmnProcessId_ = other.bpmnProcessId_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasBpmnProcessVersion()) {
bpmnProcessVersion_ = other.bpmnProcessVersion_;
bitField0_ |= 0x00000100;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
id_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
apiVersion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
workflowId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getTimestampFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
initiator_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
source_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
comment_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
bpmnProcessId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
bpmnProcessVersion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object apiVersion_ = "";
/**
* string api_version = 2;
* @return The apiVersion.
*/
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
apiVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string api_version = 2;
* @return The bytes for apiVersion.
*/
public com.google.protobuf.ByteString
getApiVersionBytes() {
java.lang.Object ref = apiVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
apiVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string api_version = 2;
* @param value The apiVersion to set.
* @return This builder for chaining.
*/
public Builder setApiVersion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
apiVersion_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string api_version = 2;
* @return This builder for chaining.
*/
public Builder clearApiVersion() {
apiVersion_ = getDefaultInstance().getApiVersion();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string api_version = 2;
* @param value The bytes for apiVersion to set.
* @return This builder for chaining.
*/
public Builder setApiVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
apiVersion_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object workflowId_ = "";
/**
* string workflow_id = 3;
* @return The workflowId.
*/
public java.lang.String getWorkflowId() {
java.lang.Object ref = workflowId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workflowId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string workflow_id = 3;
* @return The bytes for workflowId.
*/
public com.google.protobuf.ByteString
getWorkflowIdBytes() {
java.lang.Object ref = workflowId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string workflow_id = 3;
* @param value The workflowId to set.
* @return This builder for chaining.
*/
public Builder setWorkflowId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
workflowId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string workflow_id = 3;
* @return This builder for chaining.
*/
public Builder clearWorkflowId() {
workflowId_ = getDefaultInstance().getWorkflowId();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string workflow_id = 3;
* @param value The bytes for workflowId to set.
* @return This builder for chaining.
*/
public Builder setWorkflowIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
workflowId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.Timestamp timestamp_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampBuilder_;
/**
* .google.protobuf.Timestamp timestamp = 4;
* @return Whether the timestamp field is set.
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .google.protobuf.Timestamp timestamp = 4;
* @return The timestamp.
*/
public com.google.protobuf.Timestamp getTimestamp() {
if (timestampBuilder_ == null) {
return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_;
} else {
return timestampBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp timestamp = 4;
*/
public Builder setTimestamp(com.google.protobuf.Timestamp value) {
if (timestampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timestamp_ = value;
} else {
timestampBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp timestamp = 4;
*/
public Builder setTimestamp(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (timestampBuilder_ == null) {
timestamp_ = builderForValue.build();
} else {
timestampBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp timestamp = 4;
*/
public Builder mergeTimestamp(com.google.protobuf.Timestamp value) {
if (timestampBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
timestamp_ != null &&
timestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getTimestampBuilder().mergeFrom(value);
} else {
timestamp_ = value;
}
} else {
timestampBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp timestamp = 4;
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000008);
timestamp_ = null;
if (timestampBuilder_ != null) {
timestampBuilder_.dispose();
timestampBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp timestamp = 4;
*/
public com.google.protobuf.Timestamp.Builder getTimestampBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getTimestampFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp timestamp = 4;
*/
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() {
if (timestampBuilder_ != null) {
return timestampBuilder_.getMessageOrBuilder();
} else {
return timestamp_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_;
}
}
/**
* .google.protobuf.Timestamp timestamp = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getTimestampFieldBuilder() {
if (timestampBuilder_ == null) {
timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getTimestamp(),
getParentForChildren(),
isClean());
timestamp_ = null;
}
return timestampBuilder_;
}
private java.lang.Object initiator_ = "";
/**
* optional string initiator = 5;
* @return Whether the initiator field is set.
*/
public boolean hasInitiator() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string initiator = 5;
* @return The initiator.
*/
public java.lang.String getInitiator() {
java.lang.Object ref = initiator_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
initiator_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string initiator = 5;
* @return The bytes for initiator.
*/
public com.google.protobuf.ByteString
getInitiatorBytes() {
java.lang.Object ref = initiator_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
initiator_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string initiator = 5;
* @param value The initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiator(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
initiator_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional string initiator = 5;
* @return This builder for chaining.
*/
public Builder clearInitiator() {
initiator_ = getDefaultInstance().getInitiator();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* optional string initiator = 5;
* @param value The bytes for initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiatorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
initiator_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object source_ = "";
/**
* optional string source = 6;
* @return Whether the source field is set.
*/
public boolean hasSource() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string source = 6;
* @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
source_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string source = 6;
* @return The bytes for source.
*/
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string source = 6;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
source_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional string source = 6;
* @return This builder for chaining.
*/
public Builder clearSource() {
source_ = getDefaultInstance().getSource();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* optional string source = 6;
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
source_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object comment_ = "";
/**
* optional string comment = 7;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string comment = 7;
* @return The comment.
*/
public java.lang.String getComment() {
java.lang.Object ref = comment_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
comment_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string comment = 7;
* @return The bytes for comment.
*/
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = comment_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
comment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string comment = 7;
* @param value The comment to set.
* @return This builder for chaining.
*/
public Builder setComment(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
comment_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional string comment = 7;
* @return This builder for chaining.
*/
public Builder clearComment() {
comment_ = getDefaultInstance().getComment();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* optional string comment = 7;
* @param value The bytes for comment to set.
* @return This builder for chaining.
*/
public Builder setCommentBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
comment_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object bpmnProcessId_ = "";
/**
* optional string bpmn_process_id = 8;
* @return Whether the bpmnProcessId field is set.
*/
public boolean hasBpmnProcessId() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string bpmn_process_id = 8;
* @return The bpmnProcessId.
*/
public java.lang.String getBpmnProcessId() {
java.lang.Object ref = bpmnProcessId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bpmnProcessId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string bpmn_process_id = 8;
* @return The bytes for bpmnProcessId.
*/
public com.google.protobuf.ByteString
getBpmnProcessIdBytes() {
java.lang.Object ref = bpmnProcessId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bpmnProcessId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string bpmn_process_id = 8;
* @param value The bpmnProcessId to set.
* @return This builder for chaining.
*/
public Builder setBpmnProcessId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
bpmnProcessId_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional string bpmn_process_id = 8;
* @return This builder for chaining.
*/
public Builder clearBpmnProcessId() {
bpmnProcessId_ = getDefaultInstance().getBpmnProcessId();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* optional string bpmn_process_id = 8;
* @param value The bytes for bpmnProcessId to set.
* @return This builder for chaining.
*/
public Builder setBpmnProcessIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
bpmnProcessId_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object bpmnProcessVersion_ = "";
/**
* optional string bpmn_process_version = 9;
* @return Whether the bpmnProcessVersion field is set.
*/
public boolean hasBpmnProcessVersion() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string bpmn_process_version = 9;
* @return The bpmnProcessVersion.
*/
public java.lang.String getBpmnProcessVersion() {
java.lang.Object ref = bpmnProcessVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bpmnProcessVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string bpmn_process_version = 9;
* @return The bytes for bpmnProcessVersion.
*/
public com.google.protobuf.ByteString
getBpmnProcessVersionBytes() {
java.lang.Object ref = bpmnProcessVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bpmnProcessVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string bpmn_process_version = 9;
* @param value The bpmnProcessVersion to set.
* @return This builder for chaining.
*/
public Builder setBpmnProcessVersion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
bpmnProcessVersion_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional string bpmn_process_version = 9;
* @return This builder for chaining.
*/
public Builder clearBpmnProcessVersion() {
bpmnProcessVersion_ = getDefaultInstance().getBpmnProcessVersion();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* optional string bpmn_process_version = 9;
* @param value The bytes for bpmnProcessVersion to set.
* @return This builder for chaining.
*/
public Builder setBpmnProcessVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
bpmnProcessVersion_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:WorkflowCancelledEvent)
}
// @@protoc_insertion_point(class_scope:WorkflowCancelledEvent)
private static final io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent();
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WorkflowCancelledEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCancelledEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}