io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent 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 WorkflowCreatedOrUpdatedEvent}
*/
public final class WorkflowCreatedOrUpdatedEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WorkflowCreatedOrUpdatedEvent)
WorkflowCreatedOrUpdatedEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use WorkflowCreatedOrUpdatedEvent.newBuilder() to construct.
private WorkflowCreatedOrUpdatedEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WorkflowCreatedOrUpdatedEvent() {
id_ = "";
apiVersion_ = "";
workflowId_ = "";
bpmnProcessId_ = "";
uiUriPath_ = "";
uiUriType_ = "";
businessId_ = "";
initiator_ = "";
source_ = "";
comment_ = "";
bpmnProcessVersion_ = "";
detailsFulltextSearch_ = "";
accessibleToUsers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
accessibleToGroups_ =
com.google.protobuf.LazyStringArrayList.emptyList();
workflowModuleId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WorkflowCreatedOrUpdatedEvent();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCreatedOrUpdatedEvent_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 15:
return internalGetTitle();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCreatedOrUpdatedEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent.class, io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent.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 BPMN_PROCESS_ID_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object bpmnProcessId_ = "";
/**
* string bpmn_process_id = 5;
* @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;
}
}
/**
* string bpmn_process_id = 5;
* @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 UI_URI_PATH_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object uiUriPath_ = "";
/**
* string ui_uri_path = 8;
* @return The uiUriPath.
*/
@java.lang.Override
public java.lang.String getUiUriPath() {
java.lang.Object ref = uiUriPath_;
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();
uiUriPath_ = s;
return s;
}
}
/**
* string ui_uri_path = 8;
* @return The bytes for uiUriPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUiUriPathBytes() {
java.lang.Object ref = uiUriPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uiUriPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UI_URI_TYPE_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object uiUriType_ = "";
/**
* string ui_uri_type = 9;
* @return The uiUriType.
*/
@java.lang.Override
public java.lang.String getUiUriType() {
java.lang.Object ref = uiUriType_;
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();
uiUriType_ = s;
return s;
}
}
/**
* string ui_uri_type = 9;
* @return The bytes for uiUriType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUiUriTypeBytes() {
java.lang.Object ref = uiUriType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uiUriType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UPDATED_FIELD_NUMBER = 10;
private boolean updated_ = false;
/**
* optional bool updated = 10;
* @return Whether the updated field is set.
*/
@java.lang.Override
public boolean hasUpdated() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool updated = 10;
* @return The updated.
*/
@java.lang.Override
public boolean getUpdated() {
return updated_;
}
public static final int BUSINESS_ID_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object businessId_ = "";
/**
* optional string business_id = 11;
* @return Whether the businessId field is set.
*/
@java.lang.Override
public boolean hasBusinessId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string business_id = 11;
* @return The businessId.
*/
@java.lang.Override
public java.lang.String getBusinessId() {
java.lang.Object ref = businessId_;
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();
businessId_ = s;
return s;
}
}
/**
* optional string business_id = 11;
* @return The bytes for businessId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBusinessIdBytes() {
java.lang.Object ref = businessId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
businessId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INITIATOR_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object initiator_ = "";
/**
* optional string initiator = 12;
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string initiator = 12;
* @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 = 12;
* @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 = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object source_ = "";
/**
* optional string source = 13;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string source = 13;
* @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 = 13;
* @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 TITLE_FIELD_NUMBER = 15;
private static final class TitleDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCreatedOrUpdatedEvent_TitleEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> title_;
private com.google.protobuf.MapField
internalGetTitle() {
if (title_ == null) {
return com.google.protobuf.MapField.emptyMapField(
TitleDefaultEntryHolder.defaultEntry);
}
return title_;
}
public int getTitleCount() {
return internalGetTitle().getMap().size();
}
/**
* map<string, string> title = 15;
*/
@java.lang.Override
public boolean containsTitle(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetTitle().getMap().containsKey(key);
}
/**
* Use {@link #getTitleMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getTitle() {
return getTitleMap();
}
/**
* map<string, string> title = 15;
*/
@java.lang.Override
public java.util.Map getTitleMap() {
return internalGetTitle().getMap();
}
/**
* map<string, string> title = 15;
*/
@java.lang.Override
public /* nullable */
java.lang.String getTitleOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTitle().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> title = 15;
*/
@java.lang.Override
public java.lang.String getTitleOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTitle().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int COMMENT_FIELD_NUMBER = 16;
@SuppressWarnings("serial")
private volatile java.lang.Object comment_ = "";
/**
* optional string comment = 16;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string comment = 16;
* @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 = 16;
* @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_VERSION_FIELD_NUMBER = 17;
@SuppressWarnings("serial")
private volatile java.lang.Object bpmnProcessVersion_ = "";
/**
* optional string bpmn_process_version = 17;
* @return Whether the bpmnProcessVersion field is set.
*/
@java.lang.Override
public boolean hasBpmnProcessVersion() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string bpmn_process_version = 17;
* @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 = 17;
* @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;
}
}
public static final int DETAILS_FIELD_NUMBER = 18;
private io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap details_;
/**
* .DetailsMap details = 18;
* @return Whether the details field is set.
*/
@java.lang.Override
public boolean hasDetails() {
return details_ != null;
}
/**
* .DetailsMap details = 18;
* @return The details.
*/
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap getDetails() {
return details_ == null ? io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.getDefaultInstance() : details_;
}
/**
* .DetailsMap details = 18;
*/
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMapOrBuilder getDetailsOrBuilder() {
return details_ == null ? io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.getDefaultInstance() : details_;
}
public static final int DETAILS_FULLTEXT_SEARCH_FIELD_NUMBER = 19;
@SuppressWarnings("serial")
private volatile java.lang.Object detailsFulltextSearch_ = "";
/**
* optional string details_fulltext_search = 19;
* @return Whether the detailsFulltextSearch field is set.
*/
@java.lang.Override
public boolean hasDetailsFulltextSearch() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string details_fulltext_search = 19;
* @return The detailsFulltextSearch.
*/
@java.lang.Override
public java.lang.String getDetailsFulltextSearch() {
java.lang.Object ref = detailsFulltextSearch_;
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();
detailsFulltextSearch_ = s;
return s;
}
}
/**
* optional string details_fulltext_search = 19;
* @return The bytes for detailsFulltextSearch.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDetailsFulltextSearchBytes() {
java.lang.Object ref = detailsFulltextSearch_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
detailsFulltextSearch_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCESSIBLE_TO_USERS_FIELD_NUMBER = 20;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList accessibleToUsers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string accessible_to_users = 20;
* @return A list containing the accessibleToUsers.
*/
public com.google.protobuf.ProtocolStringList
getAccessibleToUsersList() {
return accessibleToUsers_;
}
/**
* repeated string accessible_to_users = 20;
* @return The count of accessibleToUsers.
*/
public int getAccessibleToUsersCount() {
return accessibleToUsers_.size();
}
/**
* repeated string accessible_to_users = 20;
* @param index The index of the element to return.
* @return The accessibleToUsers at the given index.
*/
public java.lang.String getAccessibleToUsers(int index) {
return accessibleToUsers_.get(index);
}
/**
* repeated string accessible_to_users = 20;
* @param index The index of the value to return.
* @return The bytes of the accessibleToUsers at the given index.
*/
public com.google.protobuf.ByteString
getAccessibleToUsersBytes(int index) {
return accessibleToUsers_.getByteString(index);
}
public static final int ACCESSIBLE_TO_GROUPS_FIELD_NUMBER = 21;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList accessibleToGroups_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string accessible_to_groups = 21;
* @return A list containing the accessibleToGroups.
*/
public com.google.protobuf.ProtocolStringList
getAccessibleToGroupsList() {
return accessibleToGroups_;
}
/**
* repeated string accessible_to_groups = 21;
* @return The count of accessibleToGroups.
*/
public int getAccessibleToGroupsCount() {
return accessibleToGroups_.size();
}
/**
* repeated string accessible_to_groups = 21;
* @param index The index of the element to return.
* @return The accessibleToGroups at the given index.
*/
public java.lang.String getAccessibleToGroups(int index) {
return accessibleToGroups_.get(index);
}
/**
* repeated string accessible_to_groups = 21;
* @param index The index of the value to return.
* @return The bytes of the accessibleToGroups at the given index.
*/
public com.google.protobuf.ByteString
getAccessibleToGroupsBytes(int index) {
return accessibleToGroups_.getByteString(index);
}
public static final int WORKFLOW_MODULE_ID_FIELD_NUMBER = 22;
@SuppressWarnings("serial")
private volatile java.lang.Object workflowModuleId_ = "";
/**
* string workflow_module_id = 22;
* @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 = 22;
* @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;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bpmnProcessId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, bpmnProcessId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uiUriPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, uiUriPath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uiUriType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, uiUriType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(10, updated_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, businessId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, initiator_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, source_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetTitle(),
TitleDefaultEntryHolder.defaultEntry,
15);
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, comment_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, bpmnProcessVersion_);
}
if (details_ != null) {
output.writeMessage(18, getDetails());
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 19, detailsFulltextSearch_);
}
for (int i = 0; i < accessibleToUsers_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 20, accessibleToUsers_.getRaw(i));
}
for (int i = 0; i < accessibleToGroups_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 21, accessibleToGroups_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowModuleId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 22, workflowModuleId_);
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bpmnProcessId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, bpmnProcessId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uiUriPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, uiUriPath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uiUriType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, uiUriType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, updated_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, businessId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, initiator_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, source_);
}
for (java.util.Map.Entry entry
: internalGetTitle().getMap().entrySet()) {
com.google.protobuf.MapEntry
title__ = TitleDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, title__);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, comment_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, bpmnProcessVersion_);
}
if (details_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getDetails());
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, detailsFulltextSearch_);
}
{
int dataSize = 0;
for (int i = 0; i < accessibleToUsers_.size(); i++) {
dataSize += computeStringSizeNoTag(accessibleToUsers_.getRaw(i));
}
size += dataSize;
size += 2 * getAccessibleToUsersList().size();
}
{
int dataSize = 0;
for (int i = 0; i < accessibleToGroups_.size(); i++) {
dataSize += computeStringSizeNoTag(accessibleToGroups_.getRaw(i));
}
size += dataSize;
size += 2 * getAccessibleToGroupsList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowModuleId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, workflowModuleId_);
}
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.WorkflowCreatedOrUpdatedEvent)) {
return super.equals(obj);
}
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent other = (io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent) 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 (!getBpmnProcessId()
.equals(other.getBpmnProcessId())) return false;
if (!getUiUriPath()
.equals(other.getUiUriPath())) return false;
if (!getUiUriType()
.equals(other.getUiUriType())) return false;
if (hasUpdated() != other.hasUpdated()) return false;
if (hasUpdated()) {
if (getUpdated()
!= other.getUpdated()) return false;
}
if (hasBusinessId() != other.hasBusinessId()) return false;
if (hasBusinessId()) {
if (!getBusinessId()
.equals(other.getBusinessId())) 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 (!internalGetTitle().equals(
other.internalGetTitle())) return false;
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasBpmnProcessVersion() != other.hasBpmnProcessVersion()) return false;
if (hasBpmnProcessVersion()) {
if (!getBpmnProcessVersion()
.equals(other.getBpmnProcessVersion())) return false;
}
if (hasDetails() != other.hasDetails()) return false;
if (hasDetails()) {
if (!getDetails()
.equals(other.getDetails())) return false;
}
if (hasDetailsFulltextSearch() != other.hasDetailsFulltextSearch()) return false;
if (hasDetailsFulltextSearch()) {
if (!getDetailsFulltextSearch()
.equals(other.getDetailsFulltextSearch())) return false;
}
if (!getAccessibleToUsersList()
.equals(other.getAccessibleToUsersList())) return false;
if (!getAccessibleToGroupsList()
.equals(other.getAccessibleToGroupsList())) return false;
if (!getWorkflowModuleId()
.equals(other.getWorkflowModuleId())) 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();
}
hash = (37 * hash) + BPMN_PROCESS_ID_FIELD_NUMBER;
hash = (53 * hash) + getBpmnProcessId().hashCode();
hash = (37 * hash) + UI_URI_PATH_FIELD_NUMBER;
hash = (53 * hash) + getUiUriPath().hashCode();
hash = (37 * hash) + UI_URI_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getUiUriType().hashCode();
if (hasUpdated()) {
hash = (37 * hash) + UPDATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getUpdated());
}
if (hasBusinessId()) {
hash = (37 * hash) + BUSINESS_ID_FIELD_NUMBER;
hash = (53 * hash) + getBusinessId().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 (!internalGetTitle().getMap().isEmpty()) {
hash = (37 * hash) + TITLE_FIELD_NUMBER;
hash = (53 * hash) + internalGetTitle().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasBpmnProcessVersion()) {
hash = (37 * hash) + BPMN_PROCESS_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getBpmnProcessVersion().hashCode();
}
if (hasDetails()) {
hash = (37 * hash) + DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getDetails().hashCode();
}
if (hasDetailsFulltextSearch()) {
hash = (37 * hash) + DETAILS_FULLTEXT_SEARCH_FIELD_NUMBER;
hash = (53 * hash) + getDetailsFulltextSearch().hashCode();
}
if (getAccessibleToUsersCount() > 0) {
hash = (37 * hash) + ACCESSIBLE_TO_USERS_FIELD_NUMBER;
hash = (53 * hash) + getAccessibleToUsersList().hashCode();
}
if (getAccessibleToGroupsCount() > 0) {
hash = (37 * hash) + ACCESSIBLE_TO_GROUPS_FIELD_NUMBER;
hash = (53 * hash) + getAccessibleToGroupsList().hashCode();
}
hash = (37 * hash) + WORKFLOW_MODULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowModuleId().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent 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 WorkflowCreatedOrUpdatedEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WorkflowCreatedOrUpdatedEvent)
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCreatedOrUpdatedEvent_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 15:
return internalGetTitle();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 15:
return internalGetMutableTitle();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCreatedOrUpdatedEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent.class, io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent.Builder.class);
}
// Construct using io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent.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;
}
bpmnProcessId_ = "";
uiUriPath_ = "";
uiUriType_ = "";
updated_ = false;
businessId_ = "";
initiator_ = "";
source_ = "";
internalGetMutableTitle().clear();
comment_ = "";
bpmnProcessVersion_ = "";
details_ = null;
if (detailsBuilder_ != null) {
detailsBuilder_.dispose();
detailsBuilder_ = null;
}
detailsFulltextSearch_ = "";
accessibleToUsers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
accessibleToGroups_ =
com.google.protobuf.LazyStringArrayList.emptyList();
workflowModuleId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.V1.internal_static_WorkflowCreatedOrUpdatedEvent_descriptor;
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent getDefaultInstanceForType() {
return io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent.getDefaultInstance();
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent build() {
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent buildPartial() {
io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent result = new io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent 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();
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.bpmnProcessId_ = bpmnProcessId_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.uiUriPath_ = uiUriPath_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.uiUriType_ = uiUriType_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000080) != 0)) {
result.updated_ = updated_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.businessId_ = businessId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.initiator_ = initiator_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.source_ = source_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.title_ = internalGetTitle();
result.title_.makeImmutable();
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.comment_ = comment_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.bpmnProcessVersion_ = bpmnProcessVersion_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.details_ = detailsBuilder_ == null
? details_
: detailsBuilder_.build();
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.detailsFulltextSearch_ = detailsFulltextSearch_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
accessibleToUsers_.makeImmutable();
result.accessibleToUsers_ = accessibleToUsers_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
accessibleToGroups_.makeImmutable();
result.accessibleToGroups_ = accessibleToGroups_;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.workflowModuleId_ = workflowModuleId_;
}
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.WorkflowCreatedOrUpdatedEvent) {
return mergeFrom((io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent other) {
if (other == io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent.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.getBpmnProcessId().isEmpty()) {
bpmnProcessId_ = other.bpmnProcessId_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getUiUriPath().isEmpty()) {
uiUriPath_ = other.uiUriPath_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getUiUriType().isEmpty()) {
uiUriType_ = other.uiUriType_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasUpdated()) {
setUpdated(other.getUpdated());
}
if (other.hasBusinessId()) {
businessId_ = other.businessId_;
bitField0_ |= 0x00000100;
onChanged();
}
if (other.hasInitiator()) {
initiator_ = other.initiator_;
bitField0_ |= 0x00000200;
onChanged();
}
if (other.hasSource()) {
source_ = other.source_;
bitField0_ |= 0x00000400;
onChanged();
}
internalGetMutableTitle().mergeFrom(
other.internalGetTitle());
bitField0_ |= 0x00000800;
if (other.hasComment()) {
comment_ = other.comment_;
bitField0_ |= 0x00001000;
onChanged();
}
if (other.hasBpmnProcessVersion()) {
bpmnProcessVersion_ = other.bpmnProcessVersion_;
bitField0_ |= 0x00002000;
onChanged();
}
if (other.hasDetails()) {
mergeDetails(other.getDetails());
}
if (other.hasDetailsFulltextSearch()) {
detailsFulltextSearch_ = other.detailsFulltextSearch_;
bitField0_ |= 0x00008000;
onChanged();
}
if (!other.accessibleToUsers_.isEmpty()) {
if (accessibleToUsers_.isEmpty()) {
accessibleToUsers_ = other.accessibleToUsers_;
bitField0_ |= 0x00010000;
} else {
ensureAccessibleToUsersIsMutable();
accessibleToUsers_.addAll(other.accessibleToUsers_);
}
onChanged();
}
if (!other.accessibleToGroups_.isEmpty()) {
if (accessibleToGroups_.isEmpty()) {
accessibleToGroups_ = other.accessibleToGroups_;
bitField0_ |= 0x00020000;
} else {
ensureAccessibleToGroupsIsMutable();
accessibleToGroups_.addAll(other.accessibleToGroups_);
}
onChanged();
}
if (!other.getWorkflowModuleId().isEmpty()) {
workflowModuleId_ = other.workflowModuleId_;
bitField0_ |= 0x00040000;
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: {
bpmnProcessId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 66: {
uiUriPath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 66
case 74: {
uiUriType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 74
case 80: {
updated_ = input.readBool();
bitField0_ |= 0x00000080;
break;
} // case 80
case 90: {
businessId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 90
case 98: {
initiator_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 98
case 106: {
source_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 106
case 122: {
com.google.protobuf.MapEntry
title__ = input.readMessage(
TitleDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableTitle().getMutableMap().put(
title__.getKey(), title__.getValue());
bitField0_ |= 0x00000800;
break;
} // case 122
case 130: {
comment_ = input.readStringRequireUtf8();
bitField0_ |= 0x00001000;
break;
} // case 130
case 138: {
bpmnProcessVersion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00002000;
break;
} // case 138
case 146: {
input.readMessage(
getDetailsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00004000;
break;
} // case 146
case 154: {
detailsFulltextSearch_ = input.readStringRequireUtf8();
bitField0_ |= 0x00008000;
break;
} // case 154
case 162: {
java.lang.String s = input.readStringRequireUtf8();
ensureAccessibleToUsersIsMutable();
accessibleToUsers_.add(s);
break;
} // case 162
case 170: {
java.lang.String s = input.readStringRequireUtf8();
ensureAccessibleToGroupsIsMutable();
accessibleToGroups_.add(s);
break;
} // case 170
case 178: {
workflowModuleId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00040000;
break;
} // case 178
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 bpmnProcessId_ = "";
/**
* string bpmn_process_id = 5;
* @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;
}
}
/**
* string bpmn_process_id = 5;
* @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;
}
}
/**
* string bpmn_process_id = 5;
* @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_ |= 0x00000010;
onChanged();
return this;
}
/**
* string bpmn_process_id = 5;
* @return This builder for chaining.
*/
public Builder clearBpmnProcessId() {
bpmnProcessId_ = getDefaultInstance().getBpmnProcessId();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* string bpmn_process_id = 5;
* @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_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object uiUriPath_ = "";
/**
* string ui_uri_path = 8;
* @return The uiUriPath.
*/
public java.lang.String getUiUriPath() {
java.lang.Object ref = uiUriPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uiUriPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ui_uri_path = 8;
* @return The bytes for uiUriPath.
*/
public com.google.protobuf.ByteString
getUiUriPathBytes() {
java.lang.Object ref = uiUriPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uiUriPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string ui_uri_path = 8;
* @param value The uiUriPath to set.
* @return This builder for chaining.
*/
public Builder setUiUriPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
uiUriPath_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* string ui_uri_path = 8;
* @return This builder for chaining.
*/
public Builder clearUiUriPath() {
uiUriPath_ = getDefaultInstance().getUiUriPath();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* string ui_uri_path = 8;
* @param value The bytes for uiUriPath to set.
* @return This builder for chaining.
*/
public Builder setUiUriPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
uiUriPath_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object uiUriType_ = "";
/**
* string ui_uri_type = 9;
* @return The uiUriType.
*/
public java.lang.String getUiUriType() {
java.lang.Object ref = uiUriType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uiUriType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ui_uri_type = 9;
* @return The bytes for uiUriType.
*/
public com.google.protobuf.ByteString
getUiUriTypeBytes() {
java.lang.Object ref = uiUriType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uiUriType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string ui_uri_type = 9;
* @param value The uiUriType to set.
* @return This builder for chaining.
*/
public Builder setUiUriType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
uiUriType_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* string ui_uri_type = 9;
* @return This builder for chaining.
*/
public Builder clearUiUriType() {
uiUriType_ = getDefaultInstance().getUiUriType();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* string ui_uri_type = 9;
* @param value The bytes for uiUriType to set.
* @return This builder for chaining.
*/
public Builder setUiUriTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
uiUriType_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private boolean updated_ ;
/**
* optional bool updated = 10;
* @return Whether the updated field is set.
*/
@java.lang.Override
public boolean hasUpdated() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional bool updated = 10;
* @return The updated.
*/
@java.lang.Override
public boolean getUpdated() {
return updated_;
}
/**
* optional bool updated = 10;
* @param value The updated to set.
* @return This builder for chaining.
*/
public Builder setUpdated(boolean value) {
updated_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional bool updated = 10;
* @return This builder for chaining.
*/
public Builder clearUpdated() {
bitField0_ = (bitField0_ & ~0x00000080);
updated_ = false;
onChanged();
return this;
}
private java.lang.Object businessId_ = "";
/**
* optional string business_id = 11;
* @return Whether the businessId field is set.
*/
public boolean hasBusinessId() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string business_id = 11;
* @return The businessId.
*/
public java.lang.String getBusinessId() {
java.lang.Object ref = businessId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
businessId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string business_id = 11;
* @return The bytes for businessId.
*/
public com.google.protobuf.ByteString
getBusinessIdBytes() {
java.lang.Object ref = businessId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
businessId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string business_id = 11;
* @param value The businessId to set.
* @return This builder for chaining.
*/
public Builder setBusinessId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
businessId_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional string business_id = 11;
* @return This builder for chaining.
*/
public Builder clearBusinessId() {
businessId_ = getDefaultInstance().getBusinessId();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* optional string business_id = 11;
* @param value The bytes for businessId to set.
* @return This builder for chaining.
*/
public Builder setBusinessIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
businessId_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object initiator_ = "";
/**
* optional string initiator = 12;
* @return Whether the initiator field is set.
*/
public boolean hasInitiator() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string initiator = 12;
* @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 = 12;
* @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 = 12;
* @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_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional string initiator = 12;
* @return This builder for chaining.
*/
public Builder clearInitiator() {
initiator_ = getDefaultInstance().getInitiator();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* optional string initiator = 12;
* @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_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object source_ = "";
/**
* optional string source = 13;
* @return Whether the source field is set.
*/
public boolean hasSource() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional string source = 13;
* @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 = 13;
* @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 = 13;
* @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_ |= 0x00000400;
onChanged();
return this;
}
/**
* optional string source = 13;
* @return This builder for chaining.
*/
public Builder clearSource() {
source_ = getDefaultInstance().getSource();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* optional string source = 13;
* @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_ |= 0x00000400;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> title_;
private com.google.protobuf.MapField
internalGetTitle() {
if (title_ == null) {
return com.google.protobuf.MapField.emptyMapField(
TitleDefaultEntryHolder.defaultEntry);
}
return title_;
}
private com.google.protobuf.MapField
internalGetMutableTitle() {
if (title_ == null) {
title_ = com.google.protobuf.MapField.newMapField(
TitleDefaultEntryHolder.defaultEntry);
}
if (!title_.isMutable()) {
title_ = title_.copy();
}
bitField0_ |= 0x00000800;
onChanged();
return title_;
}
public int getTitleCount() {
return internalGetTitle().getMap().size();
}
/**
* map<string, string> title = 15;
*/
@java.lang.Override
public boolean containsTitle(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetTitle().getMap().containsKey(key);
}
/**
* Use {@link #getTitleMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getTitle() {
return getTitleMap();
}
/**
* map<string, string> title = 15;
*/
@java.lang.Override
public java.util.Map getTitleMap() {
return internalGetTitle().getMap();
}
/**
* map<string, string> title = 15;
*/
@java.lang.Override
public /* nullable */
java.lang.String getTitleOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTitle().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> title = 15;
*/
@java.lang.Override
public java.lang.String getTitleOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTitle().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearTitle() {
bitField0_ = (bitField0_ & ~0x00000800);
internalGetMutableTitle().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> title = 15;
*/
public Builder removeTitle(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableTitle().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableTitle() {
bitField0_ |= 0x00000800;
return internalGetMutableTitle().getMutableMap();
}
/**
* map<string, string> title = 15;
*/
public Builder putTitle(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableTitle().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000800;
return this;
}
/**
* map<string, string> title = 15;
*/
public Builder putAllTitle(
java.util.Map values) {
internalGetMutableTitle().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000800;
return this;
}
private java.lang.Object comment_ = "";
/**
* optional string comment = 16;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional string comment = 16;
* @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 = 16;
* @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 = 16;
* @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_ |= 0x00001000;
onChanged();
return this;
}
/**
* optional string comment = 16;
* @return This builder for chaining.
*/
public Builder clearComment() {
comment_ = getDefaultInstance().getComment();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
* optional string comment = 16;
* @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_ |= 0x00001000;
onChanged();
return this;
}
private java.lang.Object bpmnProcessVersion_ = "";
/**
* optional string bpmn_process_version = 17;
* @return Whether the bpmnProcessVersion field is set.
*/
public boolean hasBpmnProcessVersion() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional string bpmn_process_version = 17;
* @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 = 17;
* @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 = 17;
* @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_ |= 0x00002000;
onChanged();
return this;
}
/**
* optional string bpmn_process_version = 17;
* @return This builder for chaining.
*/
public Builder clearBpmnProcessVersion() {
bpmnProcessVersion_ = getDefaultInstance().getBpmnProcessVersion();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
return this;
}
/**
* optional string bpmn_process_version = 17;
* @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_ |= 0x00002000;
onChanged();
return this;
}
private io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap details_;
private com.google.protobuf.SingleFieldBuilderV3<
io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap, io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.Builder, io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMapOrBuilder> detailsBuilder_;
/**
* .DetailsMap details = 18;
* @return Whether the details field is set.
*/
public boolean hasDetails() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* .DetailsMap details = 18;
* @return The details.
*/
public io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap getDetails() {
if (detailsBuilder_ == null) {
return details_ == null ? io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.getDefaultInstance() : details_;
} else {
return detailsBuilder_.getMessage();
}
}
/**
* .DetailsMap details = 18;
*/
public Builder setDetails(io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap value) {
if (detailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
details_ = value;
} else {
detailsBuilder_.setMessage(value);
}
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* .DetailsMap details = 18;
*/
public Builder setDetails(
io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.Builder builderForValue) {
if (detailsBuilder_ == null) {
details_ = builderForValue.build();
} else {
detailsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* .DetailsMap details = 18;
*/
public Builder mergeDetails(io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap value) {
if (detailsBuilder_ == null) {
if (((bitField0_ & 0x00004000) != 0) &&
details_ != null &&
details_ != io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.getDefaultInstance()) {
getDetailsBuilder().mergeFrom(value);
} else {
details_ = value;
}
} else {
detailsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* .DetailsMap details = 18;
*/
public Builder clearDetails() {
bitField0_ = (bitField0_ & ~0x00004000);
details_ = null;
if (detailsBuilder_ != null) {
detailsBuilder_.dispose();
detailsBuilder_ = null;
}
onChanged();
return this;
}
/**
* .DetailsMap details = 18;
*/
public io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.Builder getDetailsBuilder() {
bitField0_ |= 0x00004000;
onChanged();
return getDetailsFieldBuilder().getBuilder();
}
/**
* .DetailsMap details = 18;
*/
public io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMapOrBuilder getDetailsOrBuilder() {
if (detailsBuilder_ != null) {
return detailsBuilder_.getMessageOrBuilder();
} else {
return details_ == null ?
io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.getDefaultInstance() : details_;
}
}
/**
* .DetailsMap details = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap, io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.Builder, io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMapOrBuilder>
getDetailsFieldBuilder() {
if (detailsBuilder_ == null) {
detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap, io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMap.Builder, io.vanillabp.cockpit.bpms.api.protobuf.v1.DetailsMapOrBuilder>(
getDetails(),
getParentForChildren(),
isClean());
details_ = null;
}
return detailsBuilder_;
}
private java.lang.Object detailsFulltextSearch_ = "";
/**
* optional string details_fulltext_search = 19;
* @return Whether the detailsFulltextSearch field is set.
*/
public boolean hasDetailsFulltextSearch() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional string details_fulltext_search = 19;
* @return The detailsFulltextSearch.
*/
public java.lang.String getDetailsFulltextSearch() {
java.lang.Object ref = detailsFulltextSearch_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
detailsFulltextSearch_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string details_fulltext_search = 19;
* @return The bytes for detailsFulltextSearch.
*/
public com.google.protobuf.ByteString
getDetailsFulltextSearchBytes() {
java.lang.Object ref = detailsFulltextSearch_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
detailsFulltextSearch_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string details_fulltext_search = 19;
* @param value The detailsFulltextSearch to set.
* @return This builder for chaining.
*/
public Builder setDetailsFulltextSearch(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
detailsFulltextSearch_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* optional string details_fulltext_search = 19;
* @return This builder for chaining.
*/
public Builder clearDetailsFulltextSearch() {
detailsFulltextSearch_ = getDefaultInstance().getDetailsFulltextSearch();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
return this;
}
/**
* optional string details_fulltext_search = 19;
* @param value The bytes for detailsFulltextSearch to set.
* @return This builder for chaining.
*/
public Builder setDetailsFulltextSearchBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
detailsFulltextSearch_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList accessibleToUsers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureAccessibleToUsersIsMutable() {
if (!accessibleToUsers_.isModifiable()) {
accessibleToUsers_ = new com.google.protobuf.LazyStringArrayList(accessibleToUsers_);
}
bitField0_ |= 0x00010000;
}
/**
* repeated string accessible_to_users = 20;
* @return A list containing the accessibleToUsers.
*/
public com.google.protobuf.ProtocolStringList
getAccessibleToUsersList() {
accessibleToUsers_.makeImmutable();
return accessibleToUsers_;
}
/**
* repeated string accessible_to_users = 20;
* @return The count of accessibleToUsers.
*/
public int getAccessibleToUsersCount() {
return accessibleToUsers_.size();
}
/**
* repeated string accessible_to_users = 20;
* @param index The index of the element to return.
* @return The accessibleToUsers at the given index.
*/
public java.lang.String getAccessibleToUsers(int index) {
return accessibleToUsers_.get(index);
}
/**
* repeated string accessible_to_users = 20;
* @param index The index of the value to return.
* @return The bytes of the accessibleToUsers at the given index.
*/
public com.google.protobuf.ByteString
getAccessibleToUsersBytes(int index) {
return accessibleToUsers_.getByteString(index);
}
/**
* repeated string accessible_to_users = 20;
* @param index The index to set the value at.
* @param value The accessibleToUsers to set.
* @return This builder for chaining.
*/
public Builder setAccessibleToUsers(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureAccessibleToUsersIsMutable();
accessibleToUsers_.set(index, value);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* repeated string accessible_to_users = 20;
* @param value The accessibleToUsers to add.
* @return This builder for chaining.
*/
public Builder addAccessibleToUsers(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureAccessibleToUsersIsMutable();
accessibleToUsers_.add(value);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* repeated string accessible_to_users = 20;
* @param values The accessibleToUsers to add.
* @return This builder for chaining.
*/
public Builder addAllAccessibleToUsers(
java.lang.Iterable values) {
ensureAccessibleToUsersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, accessibleToUsers_);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* repeated string accessible_to_users = 20;
* @return This builder for chaining.
*/
public Builder clearAccessibleToUsers() {
accessibleToUsers_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00010000);;
onChanged();
return this;
}
/**
* repeated string accessible_to_users = 20;
* @param value The bytes of the accessibleToUsers to add.
* @return This builder for chaining.
*/
public Builder addAccessibleToUsersBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureAccessibleToUsersIsMutable();
accessibleToUsers_.add(value);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList accessibleToGroups_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureAccessibleToGroupsIsMutable() {
if (!accessibleToGroups_.isModifiable()) {
accessibleToGroups_ = new com.google.protobuf.LazyStringArrayList(accessibleToGroups_);
}
bitField0_ |= 0x00020000;
}
/**
* repeated string accessible_to_groups = 21;
* @return A list containing the accessibleToGroups.
*/
public com.google.protobuf.ProtocolStringList
getAccessibleToGroupsList() {
accessibleToGroups_.makeImmutable();
return accessibleToGroups_;
}
/**
* repeated string accessible_to_groups = 21;
* @return The count of accessibleToGroups.
*/
public int getAccessibleToGroupsCount() {
return accessibleToGroups_.size();
}
/**
* repeated string accessible_to_groups = 21;
* @param index The index of the element to return.
* @return The accessibleToGroups at the given index.
*/
public java.lang.String getAccessibleToGroups(int index) {
return accessibleToGroups_.get(index);
}
/**
* repeated string accessible_to_groups = 21;
* @param index The index of the value to return.
* @return The bytes of the accessibleToGroups at the given index.
*/
public com.google.protobuf.ByteString
getAccessibleToGroupsBytes(int index) {
return accessibleToGroups_.getByteString(index);
}
/**
* repeated string accessible_to_groups = 21;
* @param index The index to set the value at.
* @param value The accessibleToGroups to set.
* @return This builder for chaining.
*/
public Builder setAccessibleToGroups(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureAccessibleToGroupsIsMutable();
accessibleToGroups_.set(index, value);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* repeated string accessible_to_groups = 21;
* @param value The accessibleToGroups to add.
* @return This builder for chaining.
*/
public Builder addAccessibleToGroups(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureAccessibleToGroupsIsMutable();
accessibleToGroups_.add(value);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* repeated string accessible_to_groups = 21;
* @param values The accessibleToGroups to add.
* @return This builder for chaining.
*/
public Builder addAllAccessibleToGroups(
java.lang.Iterable values) {
ensureAccessibleToGroupsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, accessibleToGroups_);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* repeated string accessible_to_groups = 21;
* @return This builder for chaining.
*/
public Builder clearAccessibleToGroups() {
accessibleToGroups_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00020000);;
onChanged();
return this;
}
/**
* repeated string accessible_to_groups = 21;
* @param value The bytes of the accessibleToGroups to add.
* @return This builder for chaining.
*/
public Builder addAccessibleToGroupsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureAccessibleToGroupsIsMutable();
accessibleToGroups_.add(value);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
private java.lang.Object workflowModuleId_ = "";
/**
* string workflow_module_id = 22;
* @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 = 22;
* @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 = 22;
* @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_ |= 0x00040000;
onChanged();
return this;
}
/**
* string workflow_module_id = 22;
* @return This builder for chaining.
*/
public Builder clearWorkflowModuleId() {
workflowModuleId_ = getDefaultInstance().getWorkflowModuleId();
bitField0_ = (bitField0_ & ~0x00040000);
onChanged();
return this;
}
/**
* string workflow_module_id = 22;
* @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_ |= 0x00040000;
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:WorkflowCreatedOrUpdatedEvent)
}
// @@protoc_insertion_point(class_scope:WorkflowCreatedOrUpdatedEvent)
private static final io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent();
}
public static io.vanillabp.cockpit.bpms.api.protobuf.v1.WorkflowCreatedOrUpdatedEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WorkflowCreatedOrUpdatedEvent 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.WorkflowCreatedOrUpdatedEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}