io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent 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 RegisterWorkflowModuleEvent}
*/
public final class RegisterWorkflowModuleEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:RegisterWorkflowModuleEvent)
RegisterWorkflowModuleEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use RegisterWorkflowModuleEvent.newBuilder() to construct.
private RegisterWorkflowModuleEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RegisterWorkflowModuleEvent() {
id_ = "";
source_ = "";
workflowModuleId_ = "";
uri_ = "";
taskProviderApiUriPath_ = "";
workflowProviderApiUriPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RegisterWorkflowModuleEvent();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_RegisterWorkflowModuleEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_RegisterWorkflowModuleEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent.class, io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent.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 TIMESTAMP_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp timestamp_;
/**
* .google.protobuf.Timestamp timestamp = 2;
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return timestamp_ != null;
}
/**
* .google.protobuf.Timestamp timestamp = 2;
* @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 = 2;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() {
return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_;
}
public static final int SOURCE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object source_ = "";
/**
* optional string source = 3;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string source = 3;
* @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 = 3;
* @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 WORKFLOW_MODULE_ID_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object workflowModuleId_ = "";
/**
* string workflow_module_id = 4;
* @return The workflowModuleId.
*/
@java.lang.Override
public java.lang.String getWorkflowModuleId() {
java.lang.Object ref = workflowModuleId_;
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();
workflowModuleId_ = s;
return s;
}
}
/**
* string workflow_module_id = 4;
* @return The bytes for workflowModuleId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkflowModuleIdBytes() {
java.lang.Object ref = workflowModuleId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowModuleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int URI_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object uri_ = "";
/**
* string uri = 5;
* @return The uri.
*/
@java.lang.Override
public java.lang.String getUri() {
java.lang.Object ref = uri_;
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();
uri_ = s;
return s;
}
}
/**
* string uri = 5;
* @return The bytes for uri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASK_PROVIDER_API_URI_PATH_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object taskProviderApiUriPath_ = "";
/**
* optional string task_provider_api_uri_path = 6;
* @return Whether the taskProviderApiUriPath field is set.
*/
@java.lang.Override
public boolean hasTaskProviderApiUriPath() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string task_provider_api_uri_path = 6;
* @return The taskProviderApiUriPath.
*/
@java.lang.Override
public java.lang.String getTaskProviderApiUriPath() {
java.lang.Object ref = taskProviderApiUriPath_;
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();
taskProviderApiUriPath_ = s;
return s;
}
}
/**
* optional string task_provider_api_uri_path = 6;
* @return The bytes for taskProviderApiUriPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskProviderApiUriPathBytes() {
java.lang.Object ref = taskProviderApiUriPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskProviderApiUriPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WORKFLOW_PROVIDER_API_URI_PATH_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object workflowProviderApiUriPath_ = "";
/**
* optional string workflow_provider_api_uri_path = 7;
* @return Whether the workflowProviderApiUriPath field is set.
*/
@java.lang.Override
public boolean hasWorkflowProviderApiUriPath() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string workflow_provider_api_uri_path = 7;
* @return The workflowProviderApiUriPath.
*/
@java.lang.Override
public java.lang.String getWorkflowProviderApiUriPath() {
java.lang.Object ref = workflowProviderApiUriPath_;
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();
workflowProviderApiUriPath_ = s;
return s;
}
}
/**
* optional string workflow_provider_api_uri_path = 7;
* @return The bytes for workflowProviderApiUriPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkflowProviderApiUriPathBytes() {
java.lang.Object ref = workflowProviderApiUriPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowProviderApiUriPath_ = 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 (timestamp_ != null) {
output.writeMessage(2, getTimestamp());
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, source_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowModuleId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, workflowModuleId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, uri_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, taskProviderApiUriPath_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, workflowProviderApiUriPath_);
}
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 (timestamp_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTimestamp());
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, source_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowModuleId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, workflowModuleId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, uri_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, taskProviderApiUriPath_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, workflowProviderApiUriPath_);
}
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.RegisterWorkflowModuleEvent)) {
return super.equals(obj);
}
io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent other = (io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent) obj;
if (!getId()
.equals(other.getId())) return false;
if (hasTimestamp() != other.hasTimestamp()) return false;
if (hasTimestamp()) {
if (!getTimestamp()
.equals(other.getTimestamp())) return false;
}
if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
if (!getSource()
.equals(other.getSource())) return false;
}
if (!getWorkflowModuleId()
.equals(other.getWorkflowModuleId())) return false;
if (!getUri()
.equals(other.getUri())) return false;
if (hasTaskProviderApiUriPath() != other.hasTaskProviderApiUriPath()) return false;
if (hasTaskProviderApiUriPath()) {
if (!getTaskProviderApiUriPath()
.equals(other.getTaskProviderApiUriPath())) return false;
}
if (hasWorkflowProviderApiUriPath() != other.hasWorkflowProviderApiUriPath()) return false;
if (hasWorkflowProviderApiUriPath()) {
if (!getWorkflowProviderApiUriPath()
.equals(other.getWorkflowProviderApiUriPath())) 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();
if (hasTimestamp()) {
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimestamp().hashCode();
}
if (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
}
hash = (37 * hash) + WORKFLOW_MODULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowModuleId().hashCode();
hash = (37 * hash) + URI_FIELD_NUMBER;
hash = (53 * hash) + getUri().hashCode();
if (hasTaskProviderApiUriPath()) {
hash = (37 * hash) + TASK_PROVIDER_API_URI_PATH_FIELD_NUMBER;
hash = (53 * hash) + getTaskProviderApiUriPath().hashCode();
}
if (hasWorkflowProviderApiUriPath()) {
hash = (37 * hash) + WORKFLOW_PROVIDER_API_URI_PATH_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowProviderApiUriPath().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent 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 RegisterWorkflowModuleEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:RegisterWorkflowModuleEvent)
io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_RegisterWorkflowModuleEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_RegisterWorkflowModuleEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent.class, io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent.Builder.class);
}
// Construct using io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ = "";
timestamp_ = null;
if (timestampBuilder_ != null) {
timestampBuilder_.dispose();
timestampBuilder_ = null;
}
source_ = "";
workflowModuleId_ = "";
uri_ = "";
taskProviderApiUriPath_ = "";
workflowProviderApiUriPath_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_RegisterWorkflowModuleEvent_descriptor;
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent getDefaultInstanceForType() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent.getDefaultInstance();
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent build() {
io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent buildPartial() {
io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent result = new io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.timestamp_ = timestampBuilder_ == null
? timestamp_
: timestampBuilder_.build();
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.source_ = source_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.workflowModuleId_ = workflowModuleId_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.uri_ = uri_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.taskProviderApiUriPath_ = taskProviderApiUriPath_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.workflowProviderApiUriPath_ = workflowProviderApiUriPath_;
to_bitField0_ |= 0x00000004;
}
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.RegisterWorkflowModuleEvent) {
return mergeFrom((io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent other) {
if (other == io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTimestamp()) {
mergeTimestamp(other.getTimestamp());
}
if (other.hasSource()) {
source_ = other.source_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getWorkflowModuleId().isEmpty()) {
workflowModuleId_ = other.workflowModuleId_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getUri().isEmpty()) {
uri_ = other.uri_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasTaskProviderApiUriPath()) {
taskProviderApiUriPath_ = other.taskProviderApiUriPath_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasWorkflowProviderApiUriPath()) {
workflowProviderApiUriPath_ = other.workflowProviderApiUriPath_;
bitField0_ |= 0x00000040;
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: {
input.readMessage(
getTimestampFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
source_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
workflowModuleId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
uri_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
taskProviderApiUriPath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
workflowProviderApiUriPath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
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 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 = 2;
* @return Whether the timestamp field is set.
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .google.protobuf.Timestamp timestamp = 2;
* @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 = 2;
*/
public Builder setTimestamp(com.google.protobuf.Timestamp value) {
if (timestampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timestamp_ = value;
} else {
timestampBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp timestamp = 2;
*/
public Builder setTimestamp(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (timestampBuilder_ == null) {
timestamp_ = builderForValue.build();
} else {
timestampBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp timestamp = 2;
*/
public Builder mergeTimestamp(com.google.protobuf.Timestamp value) {
if (timestampBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
timestamp_ != null &&
timestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getTimestampBuilder().mergeFrom(value);
} else {
timestamp_ = value;
}
} else {
timestampBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp timestamp = 2;
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000002);
timestamp_ = null;
if (timestampBuilder_ != null) {
timestampBuilder_.dispose();
timestampBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp timestamp = 2;
*/
public com.google.protobuf.Timestamp.Builder getTimestampBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTimestampFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp timestamp = 2;
*/
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 = 2;
*/
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 source_ = "";
/**
* optional string source = 3;
* @return Whether the source field is set.
*/
public boolean hasSource() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string source = 3;
* @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 = 3;
* @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 = 3;
* @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_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string source = 3;
* @return This builder for chaining.
*/
public Builder clearSource() {
source_ = getDefaultInstance().getSource();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string source = 3;
* @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_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object workflowModuleId_ = "";
/**
* string workflow_module_id = 4;
* @return The workflowModuleId.
*/
public java.lang.String getWorkflowModuleId() {
java.lang.Object ref = workflowModuleId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workflowModuleId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string workflow_module_id = 4;
* @return The bytes for workflowModuleId.
*/
public com.google.protobuf.ByteString
getWorkflowModuleIdBytes() {
java.lang.Object ref = workflowModuleId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowModuleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string workflow_module_id = 4;
* @param value The workflowModuleId to set.
* @return This builder for chaining.
*/
public Builder setWorkflowModuleId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
workflowModuleId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* string workflow_module_id = 4;
* @return This builder for chaining.
*/
public Builder clearWorkflowModuleId() {
workflowModuleId_ = getDefaultInstance().getWorkflowModuleId();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* string workflow_module_id = 4;
* @param value The bytes for workflowModuleId to set.
* @return This builder for chaining.
*/
public Builder setWorkflowModuleIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
workflowModuleId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object uri_ = "";
/**
* string uri = 5;
* @return The uri.
*/
public java.lang.String getUri() {
java.lang.Object ref = uri_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uri_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string uri = 5;
* @return The bytes for uri.
*/
public com.google.protobuf.ByteString
getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string uri = 5;
* @param value The uri to set.
* @return This builder for chaining.
*/
public Builder setUri(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
uri_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* string uri = 5;
* @return This builder for chaining.
*/
public Builder clearUri() {
uri_ = getDefaultInstance().getUri();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* string uri = 5;
* @param value The bytes for uri to set.
* @return This builder for chaining.
*/
public Builder setUriBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
uri_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object taskProviderApiUriPath_ = "";
/**
* optional string task_provider_api_uri_path = 6;
* @return Whether the taskProviderApiUriPath field is set.
*/
public boolean hasTaskProviderApiUriPath() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string task_provider_api_uri_path = 6;
* @return The taskProviderApiUriPath.
*/
public java.lang.String getTaskProviderApiUriPath() {
java.lang.Object ref = taskProviderApiUriPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskProviderApiUriPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string task_provider_api_uri_path = 6;
* @return The bytes for taskProviderApiUriPath.
*/
public com.google.protobuf.ByteString
getTaskProviderApiUriPathBytes() {
java.lang.Object ref = taskProviderApiUriPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskProviderApiUriPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string task_provider_api_uri_path = 6;
* @param value The taskProviderApiUriPath to set.
* @return This builder for chaining.
*/
public Builder setTaskProviderApiUriPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskProviderApiUriPath_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional string task_provider_api_uri_path = 6;
* @return This builder for chaining.
*/
public Builder clearTaskProviderApiUriPath() {
taskProviderApiUriPath_ = getDefaultInstance().getTaskProviderApiUriPath();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* optional string task_provider_api_uri_path = 6;
* @param value The bytes for taskProviderApiUriPath to set.
* @return This builder for chaining.
*/
public Builder setTaskProviderApiUriPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskProviderApiUriPath_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object workflowProviderApiUriPath_ = "";
/**
* optional string workflow_provider_api_uri_path = 7;
* @return Whether the workflowProviderApiUriPath field is set.
*/
public boolean hasWorkflowProviderApiUriPath() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string workflow_provider_api_uri_path = 7;
* @return The workflowProviderApiUriPath.
*/
public java.lang.String getWorkflowProviderApiUriPath() {
java.lang.Object ref = workflowProviderApiUriPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workflowProviderApiUriPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string workflow_provider_api_uri_path = 7;
* @return The bytes for workflowProviderApiUriPath.
*/
public com.google.protobuf.ByteString
getWorkflowProviderApiUriPathBytes() {
java.lang.Object ref = workflowProviderApiUriPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowProviderApiUriPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string workflow_provider_api_uri_path = 7;
* @param value The workflowProviderApiUriPath to set.
* @return This builder for chaining.
*/
public Builder setWorkflowProviderApiUriPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
workflowProviderApiUriPath_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional string workflow_provider_api_uri_path = 7;
* @return This builder for chaining.
*/
public Builder clearWorkflowProviderApiUriPath() {
workflowProviderApiUriPath_ = getDefaultInstance().getWorkflowProviderApiUriPath();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* optional string workflow_provider_api_uri_path = 7;
* @param value The bytes for workflowProviderApiUriPath to set.
* @return This builder for chaining.
*/
public Builder setWorkflowProviderApiUriPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
workflowProviderApiUriPath_ = value;
bitField0_ |= 0x00000040;
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:RegisterWorkflowModuleEvent)
}
// @@protoc_insertion_point(class_scope:RegisterWorkflowModuleEvent)
private static final io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent();
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.RegisterWorkflowModuleEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RegisterWorkflowModuleEvent 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.RegisterWorkflowModuleEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}