diff --git a/pom.xml b/pom.xml index ed64448c..113f8281 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 ru.kontur.diadoc diadocsdk - 5.4.0 + 5.5.0 jar diff --git a/proto/Docflow/DocflowV3.proto b/proto/Docflow/DocflowV3.proto index b687c277..b55b133c 100644 --- a/proto/Docflow/DocflowV3.proto +++ b/proto/Docflow/DocflowV3.proto @@ -7,6 +7,7 @@ import "Docflow/ResolutionDocflowV3.proto"; import "OuterDocflows/OuterDocflowStatus.proto"; import "TtGisFixationCancellationStatus.proto"; import "DocflowStatusV3.proto"; +import "Docflow/OutOfWorkflowUniversalMessageDocflow.proto"; package Diadoc.Api.Proto.Docflow; @@ -38,6 +39,7 @@ message SenderTitleDocflow optional Timestamp DeliveredAt = 4; optional RoamingNotification RoamingNotification = 5; required Documents.SenderSignatureStatus SenderSignatureStatus = 6; + optional OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; } message ConfirmationDocflow diff --git a/proto/Docflow/DocflowV4.proto b/proto/Docflow/DocflowV4.proto index 40b1c76c..2c938f89 100644 --- a/proto/Docflow/DocflowV4.proto +++ b/proto/Docflow/DocflowV4.proto @@ -9,6 +9,7 @@ import "DocumentId.proto"; import "Docflow/UniversalMessageAttachmentDocflow.proto"; import "Docflow/DocflowV3.proto"; import "Docflow/LastEvent.proto"; +import "Docflow/OutOfWorkflowUniversalMessageDocflow.proto"; package Diadoc.Api.Proto.Docflow; @@ -41,6 +42,7 @@ message ParticipantResponseDocflowV4 optional Timestamp DeliveredAt = 6; required Documents.RecipientResponseStatus ResponseStatus = 7; optional ConfirmationDocflowV4 Confirmation = 8; + optional OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; } message SignatureRejectionDocflowV4 diff --git a/proto/Docflow/OutOfWorkflowUniversalMessageDocflow.proto b/proto/Docflow/OutOfWorkflowUniversalMessageDocflow.proto new file mode 100644 index 00000000..876982c0 --- /dev/null +++ b/proto/Docflow/OutOfWorkflowUniversalMessageDocflow.proto @@ -0,0 +1,8 @@ +import "Docflow/UniversalMessageAttachmentDocflow.proto"; + +package Diadoc.Api.Proto.Docflow; + +message OutOfWorkflowUniversalMessageDocflow +{ + repeated UniversalMessageAttachmentDocflow Messages = 1; +} \ No newline at end of file diff --git a/proto/UniversalMessage.proto b/proto/UniversalMessage.proto index 34950dbb..0a186d4a 100644 --- a/proto/UniversalMessage.proto +++ b/proto/UniversalMessage.proto @@ -6,6 +6,7 @@ message UniversalMessageInfo { optional UniversalMessageCodeGroup CodeGroup = 1 [default = UnknownUniversalMessageCodeGroup]; repeated UniversalMessageEvent Events = 2; required UniversalMessageCreator UniversalMessageCreator = 3; + optional bool IsOutOfWorkflow = 4 [default = false]; } message UniversalMessageEvent { diff --git a/src/main/java/Diadoc/Api/Proto/Docflow/DocflowV3Protos.java b/src/main/java/Diadoc/Api/Proto/Docflow/DocflowV3Protos.java index 27c9fe62..d3f59755 100644 --- a/src/main/java/Diadoc/Api/Proto/Docflow/DocflowV3Protos.java +++ b/src/main/java/Diadoc/Api/Proto/Docflow/DocflowV3Protos.java @@ -3794,6 +3794,21 @@ public interface SenderTitleDocflowOrBuilder extends * @return The senderSignatureStatus. */ Diadoc.Api.Proto.Documents.DocumentProtos.SenderSignatureStatus getSenderSignatureStatus(); + + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + * @return Whether the outOfWorkflowUniversalMessageDocflow field is set. + */ + boolean hasOutOfWorkflowUniversalMessageDocflow(); + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + * @return The outOfWorkflowUniversalMessageDocflow. + */ + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getOutOfWorkflowUniversalMessageDocflow(); + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder getOutOfWorkflowUniversalMessageDocflowOrBuilder(); } /** * Protobuf type {@code Diadoc.Api.Proto.Docflow.SenderTitleDocflow} @@ -3975,6 +3990,32 @@ public Diadoc.Api.Proto.Docflow.RoamingNotificationProtos.RoamingNotificationOrB return result == null ? Diadoc.Api.Proto.Documents.DocumentProtos.SenderSignatureStatus.UnknownSenderSignatureStatus : result; } + public static final int OUTOFWORKFLOWUNIVERSALMESSAGEDOCFLOW_FIELD_NUMBER = 7; + private Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow outOfWorkflowUniversalMessageDocflow_; + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + * @return Whether the outOfWorkflowUniversalMessageDocflow field is set. + */ + @java.lang.Override + public boolean hasOutOfWorkflowUniversalMessageDocflow() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + * @return The outOfWorkflowUniversalMessageDocflow. + */ + @java.lang.Override + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getOutOfWorkflowUniversalMessageDocflow() { + return outOfWorkflowUniversalMessageDocflow_ == null ? Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance() : outOfWorkflowUniversalMessageDocflow_; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + @java.lang.Override + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder getOutOfWorkflowUniversalMessageDocflowOrBuilder() { + return outOfWorkflowUniversalMessageDocflow_ == null ? Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance() : outOfWorkflowUniversalMessageDocflow_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -4016,6 +4057,12 @@ public final boolean isInitialized() { return false; } } + if (hasOutOfWorkflowUniversalMessageDocflow()) { + if (!getOutOfWorkflowUniversalMessageDocflow().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } memoizedIsInitialized = 1; return true; } @@ -4041,6 +4088,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000020) != 0)) { output.writeEnum(6, senderSignatureStatus_); } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeMessage(7, getOutOfWorkflowUniversalMessageDocflow()); + } getUnknownFields().writeTo(output); } @@ -4074,6 +4124,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, senderSignatureStatus_); } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getOutOfWorkflowUniversalMessageDocflow()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -4118,6 +4172,11 @@ public boolean equals(final java.lang.Object obj) { if (hasSenderSignatureStatus()) { if (senderSignatureStatus_ != other.senderSignatureStatus_) return false; } + if (hasOutOfWorkflowUniversalMessageDocflow() != other.hasOutOfWorkflowUniversalMessageDocflow()) return false; + if (hasOutOfWorkflowUniversalMessageDocflow()) { + if (!getOutOfWorkflowUniversalMessageDocflow() + .equals(other.getOutOfWorkflowUniversalMessageDocflow())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4154,6 +4213,10 @@ public int hashCode() { hash = (37 * hash) + SENDERSIGNATURESTATUS_FIELD_NUMBER; hash = (53 * hash) + senderSignatureStatus_; } + if (hasOutOfWorkflowUniversalMessageDocflow()) { + hash = (37 * hash) + OUTOFWORKFLOWUNIVERSALMESSAGEDOCFLOW_FIELD_NUMBER; + hash = (53 * hash) + getOutOfWorkflowUniversalMessageDocflow().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -4288,6 +4351,7 @@ private void maybeForceBuilderInitialization() { getSentAtFieldBuilder(); getDeliveredAtFieldBuilder(); getRoamingNotificationFieldBuilder(); + getOutOfWorkflowUniversalMessageDocflowFieldBuilder(); } } @java.lang.Override @@ -4316,6 +4380,11 @@ public Builder clear() { roamingNotificationBuilder_ = null; } senderSignatureStatus_ = 0; + outOfWorkflowUniversalMessageDocflow_ = null; + if (outOfWorkflowUniversalMessageDocflowBuilder_ != null) { + outOfWorkflowUniversalMessageDocflowBuilder_.dispose(); + outOfWorkflowUniversalMessageDocflowBuilder_ = null; + } return this; } @@ -4382,6 +4451,12 @@ private void buildPartial0(Diadoc.Api.Proto.Docflow.DocflowV3Protos.SenderTitleD result.senderSignatureStatus_ = senderSignatureStatus_; to_bitField0_ |= 0x00000020; } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.outOfWorkflowUniversalMessageDocflow_ = outOfWorkflowUniversalMessageDocflowBuilder_ == null + ? outOfWorkflowUniversalMessageDocflow_ + : outOfWorkflowUniversalMessageDocflowBuilder_.build(); + to_bitField0_ |= 0x00000040; + } result.bitField0_ |= to_bitField0_; } @@ -4415,6 +4490,9 @@ public Builder mergeFrom(Diadoc.Api.Proto.Docflow.DocflowV3Protos.SenderTitleDoc if (other.hasSenderSignatureStatus()) { setSenderSignatureStatus(other.getSenderSignatureStatus()); } + if (other.hasOutOfWorkflowUniversalMessageDocflow()) { + mergeOutOfWorkflowUniversalMessageDocflow(other.getOutOfWorkflowUniversalMessageDocflow()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -4449,6 +4527,11 @@ public final boolean isInitialized() { return false; } } + if (hasOutOfWorkflowUniversalMessageDocflow()) { + if (!getOutOfWorkflowUniversalMessageDocflow().isInitialized()) { + return false; + } + } return true; } @@ -4513,6 +4596,13 @@ public Builder mergeFrom( } break; } // case 48 + case 58: { + input.readMessage( + getOutOfWorkflowUniversalMessageDocflowFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -5096,6 +5186,127 @@ public Builder clearSenderSignatureStatus() { return this; } + private Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow outOfWorkflowUniversalMessageDocflow_; + private com.google.protobuf.SingleFieldBuilder< + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder> outOfWorkflowUniversalMessageDocflowBuilder_; + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + * @return Whether the outOfWorkflowUniversalMessageDocflow field is set. + */ + public boolean hasOutOfWorkflowUniversalMessageDocflow() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + * @return The outOfWorkflowUniversalMessageDocflow. + */ + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getOutOfWorkflowUniversalMessageDocflow() { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + return outOfWorkflowUniversalMessageDocflow_ == null ? Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance() : outOfWorkflowUniversalMessageDocflow_; + } else { + return outOfWorkflowUniversalMessageDocflowBuilder_.getMessage(); + } + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + public Builder setOutOfWorkflowUniversalMessageDocflow(Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow value) { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outOfWorkflowUniversalMessageDocflow_ = value; + } else { + outOfWorkflowUniversalMessageDocflowBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + public Builder setOutOfWorkflowUniversalMessageDocflow( + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder builderForValue) { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + outOfWorkflowUniversalMessageDocflow_ = builderForValue.build(); + } else { + outOfWorkflowUniversalMessageDocflowBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + public Builder mergeOutOfWorkflowUniversalMessageDocflow(Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow value) { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + outOfWorkflowUniversalMessageDocflow_ != null && + outOfWorkflowUniversalMessageDocflow_ != Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance()) { + getOutOfWorkflowUniversalMessageDocflowBuilder().mergeFrom(value); + } else { + outOfWorkflowUniversalMessageDocflow_ = value; + } + } else { + outOfWorkflowUniversalMessageDocflowBuilder_.mergeFrom(value); + } + if (outOfWorkflowUniversalMessageDocflow_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + public Builder clearOutOfWorkflowUniversalMessageDocflow() { + bitField0_ = (bitField0_ & ~0x00000040); + outOfWorkflowUniversalMessageDocflow_ = null; + if (outOfWorkflowUniversalMessageDocflowBuilder_ != null) { + outOfWorkflowUniversalMessageDocflowBuilder_.dispose(); + outOfWorkflowUniversalMessageDocflowBuilder_ = null; + } + onChanged(); + return this; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder getOutOfWorkflowUniversalMessageDocflowBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getOutOfWorkflowUniversalMessageDocflowFieldBuilder().getBuilder(); + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder getOutOfWorkflowUniversalMessageDocflowOrBuilder() { + if (outOfWorkflowUniversalMessageDocflowBuilder_ != null) { + return outOfWorkflowUniversalMessageDocflowBuilder_.getMessageOrBuilder(); + } else { + return outOfWorkflowUniversalMessageDocflow_ == null ? + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance() : outOfWorkflowUniversalMessageDocflow_; + } + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 7; + */ + private com.google.protobuf.SingleFieldBuilder< + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder> + getOutOfWorkflowUniversalMessageDocflowFieldBuilder() { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + outOfWorkflowUniversalMessageDocflowBuilder_ = new com.google.protobuf.SingleFieldBuilder< + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder>( + getOutOfWorkflowUniversalMessageDocflow(), + getParentForChildren(), + isClean()); + outOfWorkflowUniversalMessageDocflow_ = null; + } + return outOfWorkflowUniversalMessageDocflowBuilder_; + } + // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Docflow.SenderTitleDocflow) } @@ -21853,130 +22064,134 @@ public Diadoc.Api.Proto.Docflow.DocflowV3Protos.TtGisFixationCancellation getDef "ionDocflowV3.proto\032&OuterDocflows/OuterD" + "ocflowStatus.proto\032%TtGisFixationCancell" + "ationStatus.proto\032\025DocflowStatusV3.proto" + - "\"\347\007\n\tDocflowV3\022A\n\013SenderTitle\030\001 \002(\0132,.Di" + - "adoc.Api.Proto.Docflow.SenderTitleDocflo" + - "w\022C\n\014Confirmation\030\002 \001(\0132-.Diadoc.Api.Pro" + - "to.Docflow.ConfirmationDocflow\022K\n\rProxyR" + - "esponse\030\013 \001(\01324.Diadoc.Api.Proto.Docflow" + - ".ParticipantResponseDocflow\022D\n\020Recipient" + - "Receipt\030\004 \001(\0132*.Diadoc.Api.Proto.Docflow" + - ".ReceiptDocflowV3\022O\n\021RecipientResponse\030\005" + - " \001(\01324.Diadoc.Api.Proto.Docflow.Particip" + - "antResponseDocflow\022K\n\020AmendmentRequest\030\006" + - " \001(\01321.Diadoc.Api.Proto.Docflow.Amendmen" + - "tRequestDocflow\022A\n\nRevocation\030\007 \001(\0132-.Di" + - "adoc.Api.Proto.Docflow.RevocationDocflow" + - "V3\022A\n\rSenderReceipt\030\010 \001(\0132*.Diadoc.Api.P" + - "roto.Docflow.ReceiptDocflowV3\022A\n\nResolut" + - "ion\030\t \001(\0132-.Diadoc.Api.Proto.Docflow.Res" + - "olutionDocflowV3\022J\n\022ResolutionEntities\030\n" + - " \001(\0132..Diadoc.Api.Proto.Docflow.Resoluti" + - "onEntitiesV3\022=\n\rOuterDocflows\030\014 \003(\0132&.Di" + - "adoc.Api.Proto.Docflow.OuterDocflow\022L\n\024O" + - "uterDocflowEntities\030\r \003(\0132..Diadoc.Api.P" + - "roto.Docflow.OuterDocflowEntities\0228\n\rDoc" + - "flowStatus\030\016 \002(\0132!.Diadoc.Api.Proto.Docf" + - "lowStatusV3\022E\n\rTtGisFixation\030\017 \001(\0132..Dia" + - "doc.Api.Proto.Docflow.TtGisFixationDocfl" + - "ow\"\347\002\n\022SenderTitleDocflow\022\022\n\nIsFinished\030" + - "\001 \002(\010\022@\n\nAttachment\030\002 \002(\0132,.Diadoc.Api.P" + - "roto.Docflow.SignedAttachmentV3\022+\n\006SentA" + - "t\030\003 \001(\0132\033.Diadoc.Api.Proto.Timestamp\0220\n\013" + - "DeliveredAt\030\004 \001(\0132\033.Diadoc.Api.Proto.Tim" + - "estamp\022J\n\023RoamingNotification\030\005 \001(\0132-.Di" + - "adoc.Api.Proto.Docflow.RoamingNotificati" + - "on\022P\n\025SenderSignatureStatus\030\006 \002(\01621.Diad" + - "oc.Api.Proto.Documents.SenderSignatureSt" + - "atus\"\272\002\n\023ConfirmationDocflow\022\022\n\nIsFinish" + - "ed\030\001 \002(\010\022L\n\026ConfirmationAttachment\030\002 \001(\013" + - "2,.Diadoc.Api.Proto.Docflow.SignedAttach" + - "mentV3\0220\n\013ConfirmedAt\030\003 \001(\0132\033.Diadoc.Api" + - ".Proto.Timestamp\022;\n\007Receipt\030\004 \001(\0132*.Diad" + - "oc.Api.Proto.Docflow.ReceiptDocflowV3\022R\n" + - "\023RoamingConfirmation\030\005 \001(\01325.Diadoc.Api." + - "Proto.Docflow.OperatorConfirmationDocflo" + - "w\"\235\001\n\033OperatorConfirmationDocflow\022L\n\026Con" + - "firmationAttachment\030\001 \001(\0132,.Diadoc.Api.P" + - "roto.Docflow.SignedAttachmentV3\0220\n\013Confi" + - "rmedAt\030\002 \001(\0132\033.Diadoc.Api.Proto.Timestam" + - "p\"\274\001\n\031SignatureRejectionDocflow\022H\n\022Signa" + - "tureRejection\030\001 \002(\0132,.Diadoc.Api.Proto.D" + - "ocflow.SignedAttachmentV3\022\020\n\010IsFormal\030\002 " + - "\002(\010\0220\n\013DeliveredAt\030\003 \001(\0132\033.Diadoc.Api.Pr" + - "oto.Timestamp\022\021\n\tPlainText\030\004 \001(\t\"\340\003\n\032Par" + - "ticipantResponseDocflow\022\022\n\nIsFinished\030\001 " + - "\002(\010\0228\n\tSignature\030\002 \001(\0132%.Diadoc.Api.Prot" + - "o.Docflow.SignatureV3\022;\n\005Title\030\003 \001(\0132,.D" + - "iadoc.Api.Proto.Docflow.SignedAttachment" + - "V3\022F\n\tRejection\030\004 \001(\01323.Diadoc.Api.Proto" + - ".Docflow.SignatureRejectionDocflow\022+\n\006Se" + - "ntAt\030\005 \001(\0132\033.Diadoc.Api.Proto.Timestamp\022" + - "0\n\013DeliveredAt\030\006 \001(\0132\033.Diadoc.Api.Proto." + - "Timestamp\022K\n\016ResponseStatus\030\007 \002(\01623.Diad" + - "oc.Api.Proto.Documents.RecipientResponse" + - "Status\022C\n\014Confirmation\030\010 \001(\0132-.Diadoc.Ap" + - "i.Proto.Docflow.ConfirmationDocflow\"\210\003\n\027" + - "AmendmentRequestDocflow\022\022\n\nIsFinished\030\001 " + - "\002(\010\022F\n\020AmendmentRequest\030\002 \001(\0132,.Diadoc.A" + - "pi.Proto.Docflow.SignedAttachmentV3\022+\n\006S" + - "entAt\030\003 \001(\0132\033.Diadoc.Api.Proto.Timestamp" + - "\0220\n\013DeliveredAt\030\004 \001(\0132\033.Diadoc.Api.Proto" + - ".Timestamp\022;\n\007Receipt\030\005 \001(\0132*.Diadoc.Api" + - ".Proto.Docflow.ReceiptDocflowV3\022\026\n\016Amend" + - "mentFlags\030\006 \002(\005\022\021\n\tPlainText\030\007 \001(\t\022J\n\023Co" + - "nfirmationDocflow\030\010 \001(\0132-.Diadoc.Api.Pro" + - "to.Docflow.ConfirmationDocflow\"\303\003\n\023Revoc" + - "ationDocflowV3\022\022\n\nIsFinished\030\001 \002(\010\022M\n\021Re" + - "vocationRequest\030\002 \002(\01322.Diadoc.Api.Proto" + - ".Docflow.RevocationRequestDocflow\022O\n\022Rev" + - "ocationResponse\030\003 \001(\01323.Diadoc.Api.Proto" + - ".Docflow.RevocationResponseDocflow\022\026\n\016In" + - "itiatorBoxId\030\004 \002(\t\022F\n\020RevocationStatus\030\005" + - " \002(\0162,.Diadoc.Api.Proto.Documents.Revoca" + - "tionStatus\022J\n\022ResolutionEntities\030\006 \001(\0132." + - ".Diadoc.Api.Proto.Docflow.ResolutionEnti" + - "tiesV3\022L\n\024OuterDocflowEntities\030\007 \003(\0132..D" + - "iadoc.Api.Proto.Docflow.OuterDocflowEnti" + - "ties\"\241\002\n\030RevocationRequestDocflow\022G\n\021Rev" + - "ocationRequest\030\001 \002(\0132,.Diadoc.Api.Proto." + - "Docflow.SignedAttachmentV3\022+\n\006SentAt\030\002 \001" + - "(\0132\033.Diadoc.Api.Proto.Timestamp\0220\n\013Deliv" + - "eredAt\030\003 \001(\0132\033.Diadoc.Api.Proto.Timestam" + - "p\022J\n\023RoamingNotification\030\004 \001(\0132-.Diadoc." + - "Api.Proto.Docflow.RoamingNotification\022\021\n" + - "\tPlainText\030\005 \001(\t\"\257\001\n\031RevocationResponseD" + - "ocflow\022A\n\022RecipientSignature\030\001 \001(\0132%.Dia" + - "doc.Api.Proto.Docflow.SignatureV3\022O\n\022Sig" + - "natureRejection\030\002 \001(\01323.Diadoc.Api.Proto" + - ".Docflow.SignatureRejectionDocflow\"\325\002\n\020R" + - "eceiptDocflowV3\022\022\n\nIsFinished\030\001 \002(\010\022G\n\021R" + - "eceiptAttachment\030\002 \001(\0132,.Diadoc.Api.Prot" + - "o.Docflow.SignedAttachmentV3\022+\n\006SentAt\030\003" + + "\0322Docflow/OutOfWorkflowUniversalMessageD" + + "ocflow.proto\"\347\007\n\tDocflowV3\022A\n\013SenderTitl" + + "e\030\001 \002(\0132,.Diadoc.Api.Proto.Docflow.Sende" + + "rTitleDocflow\022C\n\014Confirmation\030\002 \001(\0132-.Di" + + "adoc.Api.Proto.Docflow.ConfirmationDocfl" + + "ow\022K\n\rProxyResponse\030\013 \001(\01324.Diadoc.Api.P" + + "roto.Docflow.ParticipantResponseDocflow\022" + + "D\n\020RecipientReceipt\030\004 \001(\0132*.Diadoc.Api.P" + + "roto.Docflow.ReceiptDocflowV3\022O\n\021Recipie" + + "ntResponse\030\005 \001(\01324.Diadoc.Api.Proto.Docf" + + "low.ParticipantResponseDocflow\022K\n\020Amendm" + + "entRequest\030\006 \001(\01321.Diadoc.Api.Proto.Docf" + + "low.AmendmentRequestDocflow\022A\n\nRevocatio" + + "n\030\007 \001(\0132-.Diadoc.Api.Proto.Docflow.Revoc" + + "ationDocflowV3\022A\n\rSenderReceipt\030\010 \001(\0132*." + + "Diadoc.Api.Proto.Docflow.ReceiptDocflowV" + + "3\022A\n\nResolution\030\t \001(\0132-.Diadoc.Api.Proto" + + ".Docflow.ResolutionDocflowV3\022J\n\022Resoluti" + + "onEntities\030\n \001(\0132..Diadoc.Api.Proto.Docf" + + "low.ResolutionEntitiesV3\022=\n\rOuterDocflow" + + "s\030\014 \003(\0132&.Diadoc.Api.Proto.Docflow.Outer" + + "Docflow\022L\n\024OuterDocflowEntities\030\r \003(\0132.." + + "Diadoc.Api.Proto.Docflow.OuterDocflowEnt" + + "ities\0228\n\rDocflowStatus\030\016 \002(\0132!.Diadoc.Ap" + + "i.Proto.DocflowStatusV3\022E\n\rTtGisFixation" + + "\030\017 \001(\0132..Diadoc.Api.Proto.Docflow.TtGisF" + + "ixationDocflow\"\325\003\n\022SenderTitleDocflow\022\022\n" + + "\nIsFinished\030\001 \002(\010\022@\n\nAttachment\030\002 \002(\0132,." + + "Diadoc.Api.Proto.Docflow.SignedAttachmen" + + "tV3\022+\n\006SentAt\030\003 \001(\0132\033.Diadoc.Api.Proto.T" + + "imestamp\0220\n\013DeliveredAt\030\004 \001(\0132\033.Diadoc.A" + + "pi.Proto.Timestamp\022J\n\023RoamingNotificatio" + + "n\030\005 \001(\0132-.Diadoc.Api.Proto.Docflow.Roami" + + "ngNotification\022P\n\025SenderSignatureStatus\030" + + "\006 \002(\01621.Diadoc.Api.Proto.Documents.Sende" + + "rSignatureStatus\022l\n$OutOfWorkflowUnivers" + + "alMessageDocflow\030\007 \001(\0132>.Diadoc.Api.Prot" + + "o.Docflow.OutOfWorkflowUniversalMessageD" + + "ocflow\"\272\002\n\023ConfirmationDocflow\022\022\n\nIsFini" + + "shed\030\001 \002(\010\022L\n\026ConfirmationAttachment\030\002 \001" + + "(\0132,.Diadoc.Api.Proto.Docflow.SignedAtta" + + "chmentV3\0220\n\013ConfirmedAt\030\003 \001(\0132\033.Diadoc.A" + + "pi.Proto.Timestamp\022;\n\007Receipt\030\004 \001(\0132*.Di" + + "adoc.Api.Proto.Docflow.ReceiptDocflowV3\022" + + "R\n\023RoamingConfirmation\030\005 \001(\01325.Diadoc.Ap" + + "i.Proto.Docflow.OperatorConfirmationDocf" + + "low\"\235\001\n\033OperatorConfirmationDocflow\022L\n\026C" + + "onfirmationAttachment\030\001 \001(\0132,.Diadoc.Api" + + ".Proto.Docflow.SignedAttachmentV3\0220\n\013Con" + + "firmedAt\030\002 \001(\0132\033.Diadoc.Api.Proto.Timest" + + "amp\"\274\001\n\031SignatureRejectionDocflow\022H\n\022Sig" + + "natureRejection\030\001 \002(\0132,.Diadoc.Api.Proto" + + ".Docflow.SignedAttachmentV3\022\020\n\010IsFormal\030" + + "\002 \002(\010\0220\n\013DeliveredAt\030\003 \001(\0132\033.Diadoc.Api." + + "Proto.Timestamp\022\021\n\tPlainText\030\004 \001(\t\"\340\003\n\032P" + + "articipantResponseDocflow\022\022\n\nIsFinished\030" + + "\001 \002(\010\0228\n\tSignature\030\002 \001(\0132%.Diadoc.Api.Pr" + + "oto.Docflow.SignatureV3\022;\n\005Title\030\003 \001(\0132," + + ".Diadoc.Api.Proto.Docflow.SignedAttachme" + + "ntV3\022F\n\tRejection\030\004 \001(\01323.Diadoc.Api.Pro" + + "to.Docflow.SignatureRejectionDocflow\022+\n\006" + + "SentAt\030\005 \001(\0132\033.Diadoc.Api.Proto.Timestam" + + "p\0220\n\013DeliveredAt\030\006 \001(\0132\033.Diadoc.Api.Prot" + + "o.Timestamp\022K\n\016ResponseStatus\030\007 \002(\01623.Di" + + "adoc.Api.Proto.Documents.RecipientRespon" + + "seStatus\022C\n\014Confirmation\030\010 \001(\0132-.Diadoc." + + "Api.Proto.Docflow.ConfirmationDocflow\"\210\003" + + "\n\027AmendmentRequestDocflow\022\022\n\nIsFinished\030" + + "\001 \002(\010\022F\n\020AmendmentRequest\030\002 \001(\0132,.Diadoc" + + ".Api.Proto.Docflow.SignedAttachmentV3\022+\n" + + "\006SentAt\030\003 \001(\0132\033.Diadoc.Api.Proto.Timesta" + + "mp\0220\n\013DeliveredAt\030\004 \001(\0132\033.Diadoc.Api.Pro" + + "to.Timestamp\022;\n\007Receipt\030\005 \001(\0132*.Diadoc.A" + + "pi.Proto.Docflow.ReceiptDocflowV3\022\026\n\016Ame" + + "ndmentFlags\030\006 \002(\005\022\021\n\tPlainText\030\007 \001(\t\022J\n\023" + + "ConfirmationDocflow\030\010 \001(\0132-.Diadoc.Api.P" + + "roto.Docflow.ConfirmationDocflow\"\303\003\n\023Rev" + + "ocationDocflowV3\022\022\n\nIsFinished\030\001 \002(\010\022M\n\021" + + "RevocationRequest\030\002 \002(\01322.Diadoc.Api.Pro" + + "to.Docflow.RevocationRequestDocflow\022O\n\022R" + + "evocationResponse\030\003 \001(\01323.Diadoc.Api.Pro" + + "to.Docflow.RevocationResponseDocflow\022\026\n\016" + + "InitiatorBoxId\030\004 \002(\t\022F\n\020RevocationStatus" + + "\030\005 \002(\0162,.Diadoc.Api.Proto.Documents.Revo" + + "cationStatus\022J\n\022ResolutionEntities\030\006 \001(\013" + + "2..Diadoc.Api.Proto.Docflow.ResolutionEn" + + "titiesV3\022L\n\024OuterDocflowEntities\030\007 \003(\0132." + + ".Diadoc.Api.Proto.Docflow.OuterDocflowEn" + + "tities\"\241\002\n\030RevocationRequestDocflow\022G\n\021R" + + "evocationRequest\030\001 \002(\0132,.Diadoc.Api.Prot" + + "o.Docflow.SignedAttachmentV3\022+\n\006SentAt\030\002" + " \001(\0132\033.Diadoc.Api.Proto.Timestamp\0220\n\013Del" + - "iveredAt\030\004 \001(\0132\033.Diadoc.Api.Proto.Timest" + - "amp\022C\n\014Confirmation\030\005 \001(\0132-.Diadoc.Api.P" + - "roto.Docflow.ConfirmationDocflow\022@\n\006Stat" + - "us\030\006 \002(\01620.Diadoc.Api.Proto.Documents.Ge" + - "neralReceiptStatus\"\\\n\014OuterDocflow\022\026\n\016Do" + - "cflowNamedId\030\001 \002(\t\022\026\n\016ParentEntityId\030\002 \002" + - "(\t\022\034\n\024OuterDocflowEntityId\030\003 \002(\t\"\213\001\n\024Out" + - "erDocflowEntities\022\026\n\016DocflowNamedId\030\001 \002(" + - "\t\022\033\n\023DocflowFriendlyName\030\002 \002(\t\022>\n\016Status" + - "Entities\030\003 \003(\0132&.Diadoc.Api.Proto.Docflo" + - "w.StatusEntity\"\210\001\n\014StatusEntity\022@\n\nAttac" + - "hment\030\001 \002(\0132,.Diadoc.Api.Proto.Docflow.S" + - "ignedAttachmentV3\0226\n\006Status\030\002 \002(\0132&.Diad" + - "oc.Api.Proto.OuterDocflows.Status\"\325\001\n\024Tt" + - "GisFixationDocflow\022r\n\022CancellationStatus" + - "\030\001 \001(\01621.Diadoc.Api.Proto.TtGisFixationC" + - "ancellationStatus:#TtGisFixationCancella" + - "tionStatusNone\022I\n\014Cancellation\030\002 \001(\01323.D" + - "iadoc.Api.Proto.Docflow.TtGisFixationCan" + - "cellation\"\207\001\n\031TtGisFixationCancellation\022" + - "0\n\006Entity\030\001 \002(\0132 .Diadoc.Api.Proto.Docfl" + - "ow.Entity\0228\n\tSignature\030\002 \002(\0132%.Diadoc.Ap" + - "i.Proto.Docflow.SignatureV3B\021B\017DocflowV3" + - "Protos" + "iveredAt\030\003 \001(\0132\033.Diadoc.Api.Proto.Timest" + + "amp\022J\n\023RoamingNotification\030\004 \001(\0132-.Diado" + + "c.Api.Proto.Docflow.RoamingNotification\022" + + "\021\n\tPlainText\030\005 \001(\t\"\257\001\n\031RevocationRespons" + + "eDocflow\022A\n\022RecipientSignature\030\001 \001(\0132%.D" + + "iadoc.Api.Proto.Docflow.SignatureV3\022O\n\022S" + + "ignatureRejection\030\002 \001(\01323.Diadoc.Api.Pro" + + "to.Docflow.SignatureRejectionDocflow\"\325\002\n" + + "\020ReceiptDocflowV3\022\022\n\nIsFinished\030\001 \002(\010\022G\n" + + "\021ReceiptAttachment\030\002 \001(\0132,.Diadoc.Api.Pr" + + "oto.Docflow.SignedAttachmentV3\022+\n\006SentAt" + + "\030\003 \001(\0132\033.Diadoc.Api.Proto.Timestamp\0220\n\013D" + + "eliveredAt\030\004 \001(\0132\033.Diadoc.Api.Proto.Time" + + "stamp\022C\n\014Confirmation\030\005 \001(\0132-.Diadoc.Api" + + ".Proto.Docflow.ConfirmationDocflow\022@\n\006St" + + "atus\030\006 \002(\01620.Diadoc.Api.Proto.Documents." + + "GeneralReceiptStatus\"\\\n\014OuterDocflow\022\026\n\016" + + "DocflowNamedId\030\001 \002(\t\022\026\n\016ParentEntityId\030\002" + + " \002(\t\022\034\n\024OuterDocflowEntityId\030\003 \002(\t\"\213\001\n\024O" + + "uterDocflowEntities\022\026\n\016DocflowNamedId\030\001 " + + "\002(\t\022\033\n\023DocflowFriendlyName\030\002 \002(\t\022>\n\016Stat" + + "usEntities\030\003 \003(\0132&.Diadoc.Api.Proto.Docf" + + "low.StatusEntity\"\210\001\n\014StatusEntity\022@\n\nAtt" + + "achment\030\001 \002(\0132,.Diadoc.Api.Proto.Docflow" + + ".SignedAttachmentV3\0226\n\006Status\030\002 \002(\0132&.Di" + + "adoc.Api.Proto.OuterDocflows.Status\"\325\001\n\024" + + "TtGisFixationDocflow\022r\n\022CancellationStat" + + "us\030\001 \001(\01621.Diadoc.Api.Proto.TtGisFixatio" + + "nCancellationStatus:#TtGisFixationCancel" + + "lationStatusNone\022I\n\014Cancellation\030\002 \001(\01323" + + ".Diadoc.Api.Proto.Docflow.TtGisFixationC" + + "ancellation\"\207\001\n\031TtGisFixationCancellatio" + + "n\0220\n\006Entity\030\001 \002(\0132 .Diadoc.Api.Proto.Doc" + + "flow.Entity\0228\n\tSignature\030\002 \002(\0132%.Diadoc." + + "Api.Proto.Docflow.SignatureV3B\021B\017Docflow" + + "V3Protos" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -21990,6 +22205,7 @@ public Diadoc.Api.Proto.Docflow.DocflowV3Protos.TtGisFixationCancellation getDef Diadoc.Api.Proto.OuterDocflows.OuterDocflowStatusProtos.getDescriptor(), Diadoc.Api.Proto.TtGisFixationCancellationStatusProtos.getDescriptor(), Diadoc.Api.Proto.DocflowStatusV3Protos.getDescriptor(), + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.getDescriptor(), }); internal_static_Diadoc_Api_Proto_Docflow_DocflowV3_descriptor = getDescriptor().getMessageTypes().get(0); @@ -22002,7 +22218,7 @@ public Diadoc.Api.Proto.Docflow.DocflowV3Protos.TtGisFixationCancellation getDef internal_static_Diadoc_Api_Proto_Docflow_SenderTitleDocflow_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_Docflow_SenderTitleDocflow_descriptor, - new java.lang.String[] { "IsFinished", "Attachment", "SentAt", "DeliveredAt", "RoamingNotification", "SenderSignatureStatus", }); + new java.lang.String[] { "IsFinished", "Attachment", "SentAt", "DeliveredAt", "RoamingNotification", "SenderSignatureStatus", "OutOfWorkflowUniversalMessageDocflow", }); internal_static_Diadoc_Api_Proto_Docflow_ConfirmationDocflow_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Diadoc_Api_Proto_Docflow_ConfirmationDocflow_fieldAccessorTable = new @@ -22097,6 +22313,7 @@ public Diadoc.Api.Proto.Docflow.DocflowV3Protos.TtGisFixationCancellation getDef Diadoc.Api.Proto.OuterDocflows.OuterDocflowStatusProtos.getDescriptor(); Diadoc.Api.Proto.TtGisFixationCancellationStatusProtos.getDescriptor(); Diadoc.Api.Proto.DocflowStatusV3Protos.getDescriptor(); + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/Diadoc/Api/Proto/Docflow/DocflowV4Protos.java b/src/main/java/Diadoc/Api/Proto/Docflow/DocflowV4Protos.java index 867a94f4..808d7f5d 100644 --- a/src/main/java/Diadoc/Api/Proto/Docflow/DocflowV4Protos.java +++ b/src/main/java/Diadoc/Api/Proto/Docflow/DocflowV4Protos.java @@ -2733,6 +2733,21 @@ public interface ParticipantResponseDocflowV4OrBuilder extends * optional .Diadoc.Api.Proto.Docflow.ConfirmationDocflowV4 Confirmation = 8; */ Diadoc.Api.Proto.Docflow.DocflowV4Protos.ConfirmationDocflowV4OrBuilder getConfirmationOrBuilder(); + + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + * @return Whether the outOfWorkflowUniversalMessageDocflow field is set. + */ + boolean hasOutOfWorkflowUniversalMessageDocflow(); + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + * @return The outOfWorkflowUniversalMessageDocflow. + */ + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getOutOfWorkflowUniversalMessageDocflow(); + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder getOutOfWorkflowUniversalMessageDocflowOrBuilder(); } /** * Protobuf type {@code Diadoc.Api.Proto.Docflow.ParticipantResponseDocflowV4} @@ -2966,6 +2981,32 @@ public Diadoc.Api.Proto.Docflow.DocflowV4Protos.ConfirmationDocflowV4OrBuilder g return confirmation_ == null ? Diadoc.Api.Proto.Docflow.DocflowV4Protos.ConfirmationDocflowV4.getDefaultInstance() : confirmation_; } + public static final int OUTOFWORKFLOWUNIVERSALMESSAGEDOCFLOW_FIELD_NUMBER = 9; + private Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow outOfWorkflowUniversalMessageDocflow_; + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + * @return Whether the outOfWorkflowUniversalMessageDocflow field is set. + */ + @java.lang.Override + public boolean hasOutOfWorkflowUniversalMessageDocflow() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + * @return The outOfWorkflowUniversalMessageDocflow. + */ + @java.lang.Override + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getOutOfWorkflowUniversalMessageDocflow() { + return outOfWorkflowUniversalMessageDocflow_ == null ? Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance() : outOfWorkflowUniversalMessageDocflow_; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + @java.lang.Override + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder getOutOfWorkflowUniversalMessageDocflowOrBuilder() { + return outOfWorkflowUniversalMessageDocflow_ == null ? Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance() : outOfWorkflowUniversalMessageDocflow_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -3017,6 +3058,12 @@ public final boolean isInitialized() { return false; } } + if (hasOutOfWorkflowUniversalMessageDocflow()) { + if (!getOutOfWorkflowUniversalMessageDocflow().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } memoizedIsInitialized = 1; return true; } @@ -3048,6 +3095,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getConfirmation()); } + if (((bitField0_ & 0x00000100) != 0)) { + output.writeMessage(9, getOutOfWorkflowUniversalMessageDocflow()); + } getUnknownFields().writeTo(output); } @@ -3089,6 +3139,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getConfirmation()); } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getOutOfWorkflowUniversalMessageDocflow()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3143,6 +3197,11 @@ public boolean equals(final java.lang.Object obj) { if (!getConfirmation() .equals(other.getConfirmation())) return false; } + if (hasOutOfWorkflowUniversalMessageDocflow() != other.hasOutOfWorkflowUniversalMessageDocflow()) return false; + if (hasOutOfWorkflowUniversalMessageDocflow()) { + if (!getOutOfWorkflowUniversalMessageDocflow() + .equals(other.getOutOfWorkflowUniversalMessageDocflow())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3187,6 +3246,10 @@ public int hashCode() { hash = (37 * hash) + CONFIRMATION_FIELD_NUMBER; hash = (53 * hash) + getConfirmation().hashCode(); } + if (hasOutOfWorkflowUniversalMessageDocflow()) { + hash = (37 * hash) + OUTOFWORKFLOWUNIVERSALMESSAGEDOCFLOW_FIELD_NUMBER; + hash = (53 * hash) + getOutOfWorkflowUniversalMessageDocflow().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3323,6 +3386,7 @@ private void maybeForceBuilderInitialization() { getSentAtFieldBuilder(); getDeliveredAtFieldBuilder(); getConfirmationFieldBuilder(); + getOutOfWorkflowUniversalMessageDocflowFieldBuilder(); } } @java.lang.Override @@ -3361,6 +3425,11 @@ public Builder clear() { confirmationBuilder_.dispose(); confirmationBuilder_ = null; } + outOfWorkflowUniversalMessageDocflow_ = null; + if (outOfWorkflowUniversalMessageDocflowBuilder_ != null) { + outOfWorkflowUniversalMessageDocflowBuilder_.dispose(); + outOfWorkflowUniversalMessageDocflowBuilder_ = null; + } return this; } @@ -3439,6 +3508,12 @@ private void buildPartial0(Diadoc.Api.Proto.Docflow.DocflowV4Protos.ParticipantR : confirmationBuilder_.build(); to_bitField0_ |= 0x00000080; } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.outOfWorkflowUniversalMessageDocflow_ = outOfWorkflowUniversalMessageDocflowBuilder_ == null + ? outOfWorkflowUniversalMessageDocflow_ + : outOfWorkflowUniversalMessageDocflowBuilder_.build(); + to_bitField0_ |= 0x00000100; + } result.bitField0_ |= to_bitField0_; } @@ -3478,6 +3553,9 @@ public Builder mergeFrom(Diadoc.Api.Proto.Docflow.DocflowV4Protos.ParticipantRes if (other.hasConfirmation()) { mergeConfirmation(other.getConfirmation()); } + if (other.hasOutOfWorkflowUniversalMessageDocflow()) { + mergeOutOfWorkflowUniversalMessageDocflow(other.getOutOfWorkflowUniversalMessageDocflow()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3521,6 +3599,11 @@ public final boolean isInitialized() { return false; } } + if (hasOutOfWorkflowUniversalMessageDocflow()) { + if (!getOutOfWorkflowUniversalMessageDocflow().isInitialized()) { + return false; + } + } return true; } @@ -3599,6 +3682,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000080; break; } // case 66 + case 74: { + input.readMessage( + getOutOfWorkflowUniversalMessageDocflowFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -4424,6 +4514,127 @@ public Diadoc.Api.Proto.Docflow.DocflowV4Protos.ConfirmationDocflowV4OrBuilder g return confirmationBuilder_; } + private Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow outOfWorkflowUniversalMessageDocflow_; + private com.google.protobuf.SingleFieldBuilder< + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder> outOfWorkflowUniversalMessageDocflowBuilder_; + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + * @return Whether the outOfWorkflowUniversalMessageDocflow field is set. + */ + public boolean hasOutOfWorkflowUniversalMessageDocflow() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + * @return The outOfWorkflowUniversalMessageDocflow. + */ + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getOutOfWorkflowUniversalMessageDocflow() { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + return outOfWorkflowUniversalMessageDocflow_ == null ? Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance() : outOfWorkflowUniversalMessageDocflow_; + } else { + return outOfWorkflowUniversalMessageDocflowBuilder_.getMessage(); + } + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + public Builder setOutOfWorkflowUniversalMessageDocflow(Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow value) { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outOfWorkflowUniversalMessageDocflow_ = value; + } else { + outOfWorkflowUniversalMessageDocflowBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + public Builder setOutOfWorkflowUniversalMessageDocflow( + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder builderForValue) { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + outOfWorkflowUniversalMessageDocflow_ = builderForValue.build(); + } else { + outOfWorkflowUniversalMessageDocflowBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + public Builder mergeOutOfWorkflowUniversalMessageDocflow(Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow value) { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) && + outOfWorkflowUniversalMessageDocflow_ != null && + outOfWorkflowUniversalMessageDocflow_ != Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance()) { + getOutOfWorkflowUniversalMessageDocflowBuilder().mergeFrom(value); + } else { + outOfWorkflowUniversalMessageDocflow_ = value; + } + } else { + outOfWorkflowUniversalMessageDocflowBuilder_.mergeFrom(value); + } + if (outOfWorkflowUniversalMessageDocflow_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } + return this; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + public Builder clearOutOfWorkflowUniversalMessageDocflow() { + bitField0_ = (bitField0_ & ~0x00000100); + outOfWorkflowUniversalMessageDocflow_ = null; + if (outOfWorkflowUniversalMessageDocflowBuilder_ != null) { + outOfWorkflowUniversalMessageDocflowBuilder_.dispose(); + outOfWorkflowUniversalMessageDocflowBuilder_ = null; + } + onChanged(); + return this; + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder getOutOfWorkflowUniversalMessageDocflowBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getOutOfWorkflowUniversalMessageDocflowFieldBuilder().getBuilder(); + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder getOutOfWorkflowUniversalMessageDocflowOrBuilder() { + if (outOfWorkflowUniversalMessageDocflowBuilder_ != null) { + return outOfWorkflowUniversalMessageDocflowBuilder_.getMessageOrBuilder(); + } else { + return outOfWorkflowUniversalMessageDocflow_ == null ? + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance() : outOfWorkflowUniversalMessageDocflow_; + } + } + /** + * optional .Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow OutOfWorkflowUniversalMessageDocflow = 9; + */ + private com.google.protobuf.SingleFieldBuilder< + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder> + getOutOfWorkflowUniversalMessageDocflowFieldBuilder() { + if (outOfWorkflowUniversalMessageDocflowBuilder_ == null) { + outOfWorkflowUniversalMessageDocflowBuilder_ = new com.google.protobuf.SingleFieldBuilder< + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder>( + getOutOfWorkflowUniversalMessageDocflow(), + getParentForChildren(), + isClean()); + outOfWorkflowUniversalMessageDocflow_ = null; + } + return outOfWorkflowUniversalMessageDocflowBuilder_; + } + // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Docflow.ParticipantResponseDocflowV4) } @@ -14496,99 +14707,103 @@ public Diadoc.Api.Proto.Docflow.DocflowV4Protos.DocflowV4 getDefaultInstanceForT ".proto\032\034Docflow/DocumentInfoV3.proto\032\020Do" + "cumentId.proto\032/Docflow/UniversalMessage" + "AttachmentDocflow.proto\032\027Docflow/Docflow" + - "V3.proto\032\027Docflow/LastEvent.proto\"\305\003\n\023Re" + - "vocationDocflowV4\022\022\n\nIsFinished\030\001 \002(\010\022M\n" + - "\021RevocationRequest\030\002 \002(\01322.Diadoc.Api.Pr" + - "oto.Docflow.RevocationRequestDocflow\022Q\n\022" + - "RevocationResponse\030\003 \001(\01325.Diadoc.Api.Pr" + - "oto.Docflow.RevocationResponseDocflowV4\022" + - "\026\n\016InitiatorBoxId\030\004 \002(\t\022F\n\020RevocationSta" + - "tus\030\005 \002(\0162,.Diadoc.Api.Proto.Documents.R" + - "evocationStatus\022J\n\022ResolutionEntities\030\006 " + - "\001(\0132..Diadoc.Api.Proto.Docflow.Resolutio" + - "nEntitiesV3\022L\n\024OuterDocflowEntities\030\007 \003(" + - "\0132..Diadoc.Api.Proto.Docflow.OuterDocflo" + - "wEntities\"\263\001\n\033RevocationResponseDocflowV" + - "4\022A\n\022RecipientSignature\030\001 \001(\0132%.Diadoc.A" + - "pi.Proto.Docflow.SignatureV3\022Q\n\022Signatur" + - "eRejection\030\002 \001(\01325.Diadoc.Api.Proto.Docf" + - "low.SignatureRejectionDocflowV4\"\346\003\n\034Part" + - "icipantResponseDocflowV4\022\022\n\nIsFinished\030\001" + - " \002(\010\0228\n\tSignature\030\002 \001(\0132%.Diadoc.Api.Pro" + - "to.Docflow.SignatureV3\022;\n\005Title\030\003 \001(\0132,." + - "Diadoc.Api.Proto.Docflow.SignedAttachmen" + - "tV3\022H\n\tRejection\030\004 \001(\01325.Diadoc.Api.Prot" + - "o.Docflow.SignatureRejectionDocflowV4\022+\n" + - "\006SentAt\030\005 \001(\0132\033.Diadoc.Api.Proto.Timesta" + - "mp\0220\n\013DeliveredAt\030\006 \001(\0132\033.Diadoc.Api.Pro" + - "to.Timestamp\022K\n\016ResponseStatus\030\007 \002(\01623.D" + - "iadoc.Api.Proto.Documents.RecipientRespo" + - "nseStatus\022E\n\014Confirmation\030\010 \001(\0132/.Diadoc" + - ".Api.Proto.Docflow.ConfirmationDocflowV4" + - "\"\225\002\n\033SignatureRejectionDocflowV4\022H\n\022Sign" + - "atureRejection\030\001 \001(\0132,.Diadoc.Api.Proto." + - "Docflow.SignedAttachmentV3\022\020\n\010IsFormal\030\002" + - " \002(\010\0220\n\013DeliveredAt\030\003 \001(\0132\033.Diadoc.Api.P" + - "roto.Timestamp\022\021\n\tPlainText\030\004 \001(\t\022U\n\020Uni" + - "versalMessage\030\005 \001(\0132;.Diadoc.Api.Proto.D" + - "ocflow.UniversalMessageAttachmentDocflow" + - "\"\343\003\n\031AmendmentRequestDocflowV4\022\022\n\nIsFini" + - "shed\030\001 \002(\010\022F\n\020AmendmentRequest\030\002 \001(\0132,.D" + + "V3.proto\032\027Docflow/LastEvent.proto\0322Docfl" + + "ow/OutOfWorkflowUniversalMessageDocflow." + + "proto\"\305\003\n\023RevocationDocflowV4\022\022\n\nIsFinis" + + "hed\030\001 \002(\010\022M\n\021RevocationRequest\030\002 \002(\01322.D" + + "iadoc.Api.Proto.Docflow.RevocationReques" + + "tDocflow\022Q\n\022RevocationResponse\030\003 \001(\01325.D" + + "iadoc.Api.Proto.Docflow.RevocationRespon" + + "seDocflowV4\022\026\n\016InitiatorBoxId\030\004 \002(\t\022F\n\020R" + + "evocationStatus\030\005 \002(\0162,.Diadoc.Api.Proto" + + ".Documents.RevocationStatus\022J\n\022Resolutio" + + "nEntities\030\006 \001(\0132..Diadoc.Api.Proto.Docfl" + + "ow.ResolutionEntitiesV3\022L\n\024OuterDocflowE" + + "ntities\030\007 \003(\0132..Diadoc.Api.Proto.Docflow" + + ".OuterDocflowEntities\"\263\001\n\033RevocationResp" + + "onseDocflowV4\022A\n\022RecipientSignature\030\001 \001(" + + "\0132%.Diadoc.Api.Proto.Docflow.SignatureV3" + + "\022Q\n\022SignatureRejection\030\002 \001(\01325.Diadoc.Ap" + + "i.Proto.Docflow.SignatureRejectionDocflo" + + "wV4\"\324\004\n\034ParticipantResponseDocflowV4\022\022\n\n" + + "IsFinished\030\001 \002(\010\0228\n\tSignature\030\002 \001(\0132%.Di" + + "adoc.Api.Proto.Docflow.SignatureV3\022;\n\005Ti" + + "tle\030\003 \001(\0132,.Diadoc.Api.Proto.Docflow.Sig" + + "nedAttachmentV3\022H\n\tRejection\030\004 \001(\01325.Dia" + + "doc.Api.Proto.Docflow.SignatureRejection" + + "DocflowV4\022+\n\006SentAt\030\005 \001(\0132\033.Diadoc.Api.P" + + "roto.Timestamp\0220\n\013DeliveredAt\030\006 \001(\0132\033.Di" + + "adoc.Api.Proto.Timestamp\022K\n\016ResponseStat" + + "us\030\007 \002(\01623.Diadoc.Api.Proto.Documents.Re" + + "cipientResponseStatus\022E\n\014Confirmation\030\010 " + + "\001(\0132/.Diadoc.Api.Proto.Docflow.Confirmat" + + "ionDocflowV4\022l\n$OutOfWorkflowUniversalMe" + + "ssageDocflow\030\t \001(\0132>.Diadoc.Api.Proto.Do" + + "cflow.OutOfWorkflowUniversalMessageDocfl" + + "ow\"\225\002\n\033SignatureRejectionDocflowV4\022H\n\022Si" + + "gnatureRejection\030\001 \001(\0132,.Diadoc.Api.Prot" + + "o.Docflow.SignedAttachmentV3\022\020\n\010IsFormal" + + "\030\002 \002(\010\0220\n\013DeliveredAt\030\003 \001(\0132\033.Diadoc.Api" + + ".Proto.Timestamp\022\021\n\tPlainText\030\004 \001(\t\022U\n\020U" + + "niversalMessage\030\005 \001(\0132;.Diadoc.Api.Proto" + + ".Docflow.UniversalMessageAttachmentDocfl" + + "ow\"\343\003\n\031AmendmentRequestDocflowV4\022\022\n\nIsFi" + + "nished\030\001 \002(\010\022F\n\020AmendmentRequest\030\002 \001(\0132," + + ".Diadoc.Api.Proto.Docflow.SignedAttachme" + + "ntV3\022+\n\006SentAt\030\003 \001(\0132\033.Diadoc.Api.Proto." + + "Timestamp\0220\n\013DeliveredAt\030\004 \001(\0132\033.Diadoc." + + "Api.Proto.Timestamp\022;\n\007Receipt\030\005 \001(\0132*.D" + + "iadoc.Api.Proto.Docflow.ReceiptDocflowV4" + + "\022\026\n\016AmendmentFlags\030\006 \002(\005\022\021\n\tPlainText\030\007 " + + "\001(\t\022L\n\023ConfirmationDocflow\030\010 \001(\0132/.Diado" + + "c.Api.Proto.Docflow.ConfirmationDocflowV" + + "4\022U\n\020UniversalMessage\030\t \001(\0132;.Diadoc.Api" + + ".Proto.Docflow.UniversalMessageAttachmen" + + "tDocflow\"\256\003\n\020ReceiptDocflowV4\022\022\n\nIsFinis" + + "hed\030\001 \002(\010\022G\n\021ReceiptAttachment\030\002 \001(\0132,.D" + "iadoc.Api.Proto.Docflow.SignedAttachment" + "V3\022+\n\006SentAt\030\003 \001(\0132\033.Diadoc.Api.Proto.Ti" + "mestamp\0220\n\013DeliveredAt\030\004 \001(\0132\033.Diadoc.Ap" + - "i.Proto.Timestamp\022;\n\007Receipt\030\005 \001(\0132*.Dia" + - "doc.Api.Proto.Docflow.ReceiptDocflowV4\022\026" + - "\n\016AmendmentFlags\030\006 \002(\005\022\021\n\tPlainText\030\007 \001(" + - "\t\022L\n\023ConfirmationDocflow\030\010 \001(\0132/.Diadoc." + - "Api.Proto.Docflow.ConfirmationDocflowV4\022" + - "U\n\020UniversalMessage\030\t \001(\0132;.Diadoc.Api.P" + - "roto.Docflow.UniversalMessageAttachmentD" + - "ocflow\"\256\003\n\020ReceiptDocflowV4\022\022\n\nIsFinishe" + - "d\030\001 \002(\010\022G\n\021ReceiptAttachment\030\002 \001(\0132,.Dia" + - "doc.Api.Proto.Docflow.SignedAttachmentV3" + - "\022+\n\006SentAt\030\003 \001(\0132\033.Diadoc.Api.Proto.Time" + - "stamp\0220\n\013DeliveredAt\030\004 \001(\0132\033.Diadoc.Api." + - "Proto.Timestamp\022E\n\014Confirmation\030\005 \001(\0132/." + - "Diadoc.Api.Proto.Docflow.ConfirmationDoc" + - "flowV4\022@\n\006Status\030\006 \002(\01620.Diadoc.Api.Prot" + - "o.Documents.GeneralReceiptStatus\022U\n\020Univ" + - "ersalMessage\030\007 \001(\0132;.Diadoc.Api.Proto.Do" + - "cflow.UniversalMessageAttachmentDocflow\"" + - "\274\002\n\025ConfirmationDocflowV4\022\022\n\nIsFinished\030" + - "\001 \002(\010\022L\n\026ConfirmationAttachment\030\002 \001(\0132,." + - "Diadoc.Api.Proto.Docflow.SignedAttachmen" + - "tV3\0220\n\013ConfirmedAt\030\003 \001(\0132\033.Diadoc.Api.Pr" + - "oto.Timestamp\022;\n\007Receipt\030\004 \001(\0132*.Diadoc." + - "Api.Proto.Docflow.ReceiptDocflowV4\022R\n\023Ro" + - "amingConfirmation\030\005 \001(\01325.Diadoc.Api.Pro" + - "to.Docflow.OperatorConfirmationDocflow\"\357" + - "\007\n\tDocflowV4\022A\n\013SenderTitle\030\001 \002(\0132,.Diad" + - "oc.Api.Proto.Docflow.SenderTitleDocflow\022" + - "E\n\014Confirmation\030\002 \001(\0132/.Diadoc.Api.Proto" + - ".Docflow.ConfirmationDocflowV4\022M\n\rProxyR" + - "esponse\030\013 \001(\01326.Diadoc.Api.Proto.Docflow" + - ".ParticipantResponseDocflowV4\022D\n\020Recipie" + - "ntReceipt\030\004 \001(\0132*.Diadoc.Api.Proto.Docfl" + - "ow.ReceiptDocflowV4\022Q\n\021RecipientResponse" + - "\030\005 \001(\01326.Diadoc.Api.Proto.Docflow.Partic" + - "ipantResponseDocflowV4\022M\n\020AmendmentReque" + - "st\030\006 \001(\01323.Diadoc.Api.Proto.Docflow.Amen" + - "dmentRequestDocflowV4\022A\n\nRevocation\030\007 \001(" + - "\0132-.Diadoc.Api.Proto.Docflow.RevocationD" + - "ocflowV4\022A\n\rSenderReceipt\030\010 \001(\0132*.Diadoc" + - ".Api.Proto.Docflow.ReceiptDocflowV4\022A\n\nR" + - "esolution\030\t \001(\0132-.Diadoc.Api.Proto.Docfl" + - "ow.ResolutionDocflowV3\022J\n\022ResolutionEnti" + - "ties\030\n \001(\0132..Diadoc.Api.Proto.Docflow.Re" + - "solutionEntitiesV3\022=\n\rOuterDocflows\030\014 \003(" + - "\0132&.Diadoc.Api.Proto.Docflow.OuterDocflo" + - "w\022L\n\024OuterDocflowEntities\030\r \003(\0132..Diadoc" + - ".Api.Proto.Docflow.OuterDocflowEntities\022" + - "8\n\rDocflowStatus\030\016 \002(\0132!.Diadoc.Api.Prot" + - "o.DocflowStatusV3\022E\n\rTtGisFixation\030\017 \001(\013" + - "2..Diadoc.Api.Proto.Docflow.TtGisFixatio" + - "nDocflowB\021B\017DocflowV4Protos" + "i.Proto.Timestamp\022E\n\014Confirmation\030\005 \001(\0132" + + "/.Diadoc.Api.Proto.Docflow.ConfirmationD" + + "ocflowV4\022@\n\006Status\030\006 \002(\01620.Diadoc.Api.Pr" + + "oto.Documents.GeneralReceiptStatus\022U\n\020Un" + + "iversalMessage\030\007 \001(\0132;.Diadoc.Api.Proto." + + "Docflow.UniversalMessageAttachmentDocflo" + + "w\"\274\002\n\025ConfirmationDocflowV4\022\022\n\nIsFinishe" + + "d\030\001 \002(\010\022L\n\026ConfirmationAttachment\030\002 \001(\0132" + + ",.Diadoc.Api.Proto.Docflow.SignedAttachm" + + "entV3\0220\n\013ConfirmedAt\030\003 \001(\0132\033.Diadoc.Api." + + "Proto.Timestamp\022;\n\007Receipt\030\004 \001(\0132*.Diado" + + "c.Api.Proto.Docflow.ReceiptDocflowV4\022R\n\023" + + "RoamingConfirmation\030\005 \001(\01325.Diadoc.Api.P" + + "roto.Docflow.OperatorConfirmationDocflow" + + "\"\357\007\n\tDocflowV4\022A\n\013SenderTitle\030\001 \002(\0132,.Di" + + "adoc.Api.Proto.Docflow.SenderTitleDocflo" + + "w\022E\n\014Confirmation\030\002 \001(\0132/.Diadoc.Api.Pro" + + "to.Docflow.ConfirmationDocflowV4\022M\n\rProx" + + "yResponse\030\013 \001(\01326.Diadoc.Api.Proto.Docfl" + + "ow.ParticipantResponseDocflowV4\022D\n\020Recip" + + "ientReceipt\030\004 \001(\0132*.Diadoc.Api.Proto.Doc" + + "flow.ReceiptDocflowV4\022Q\n\021RecipientRespon" + + "se\030\005 \001(\01326.Diadoc.Api.Proto.Docflow.Part" + + "icipantResponseDocflowV4\022M\n\020AmendmentReq" + + "uest\030\006 \001(\01323.Diadoc.Api.Proto.Docflow.Am" + + "endmentRequestDocflowV4\022A\n\nRevocation\030\007 " + + "\001(\0132-.Diadoc.Api.Proto.Docflow.Revocatio" + + "nDocflowV4\022A\n\rSenderReceipt\030\010 \001(\0132*.Diad" + + "oc.Api.Proto.Docflow.ReceiptDocflowV4\022A\n" + + "\nResolution\030\t \001(\0132-.Diadoc.Api.Proto.Doc" + + "flow.ResolutionDocflowV3\022J\n\022ResolutionEn" + + "tities\030\n \001(\0132..Diadoc.Api.Proto.Docflow." + + "ResolutionEntitiesV3\022=\n\rOuterDocflows\030\014 " + + "\003(\0132&.Diadoc.Api.Proto.Docflow.OuterDocf" + + "low\022L\n\024OuterDocflowEntities\030\r \003(\0132..Diad" + + "oc.Api.Proto.Docflow.OuterDocflowEntitie" + + "s\0228\n\rDocflowStatus\030\016 \002(\0132!.Diadoc.Api.Pr" + + "oto.DocflowStatusV3\022E\n\rTtGisFixation\030\017 \001" + + "(\0132..Diadoc.Api.Proto.Docflow.TtGisFixat" + + "ionDocflowB\021B\017DocflowV4Protos" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -14604,6 +14819,7 @@ public Diadoc.Api.Proto.Docflow.DocflowV4Protos.DocflowV4 getDefaultInstanceForT Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.getDescriptor(), Diadoc.Api.Proto.Docflow.DocflowV3Protos.getDescriptor(), Diadoc.Api.Proto.Docflow.LastEventProtos.getDescriptor(), + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.getDescriptor(), }); internal_static_Diadoc_Api_Proto_Docflow_RevocationDocflowV4_descriptor = getDescriptor().getMessageTypes().get(0); @@ -14622,7 +14838,7 @@ public Diadoc.Api.Proto.Docflow.DocflowV4Protos.DocflowV4 getDefaultInstanceForT internal_static_Diadoc_Api_Proto_Docflow_ParticipantResponseDocflowV4_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_Docflow_ParticipantResponseDocflowV4_descriptor, - new java.lang.String[] { "IsFinished", "Signature", "Title", "Rejection", "SentAt", "DeliveredAt", "ResponseStatus", "Confirmation", }); + new java.lang.String[] { "IsFinished", "Signature", "Title", "Rejection", "SentAt", "DeliveredAt", "ResponseStatus", "Confirmation", "OutOfWorkflowUniversalMessageDocflow", }); internal_static_Diadoc_Api_Proto_Docflow_SignatureRejectionDocflowV4_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Diadoc_Api_Proto_Docflow_SignatureRejectionDocflowV4_fieldAccessorTable = new @@ -14665,6 +14881,7 @@ public Diadoc.Api.Proto.Docflow.DocflowV4Protos.DocflowV4 getDefaultInstanceForT Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.getDescriptor(); Diadoc.Api.Proto.Docflow.DocflowV3Protos.getDescriptor(); Diadoc.Api.Proto.Docflow.LastEventProtos.getDescriptor(); + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/Diadoc/Api/Proto/Docflow/OutOfWorkflowUniversalMessageDocflowOuterClass.java b/src/main/java/Diadoc/Api/Proto/Docflow/OutOfWorkflowUniversalMessageDocflowOuterClass.java new file mode 100644 index 00000000..a9ddbfa3 --- /dev/null +++ b/src/main/java/Diadoc/Api/Proto/Docflow/OutOfWorkflowUniversalMessageDocflowOuterClass.java @@ -0,0 +1,817 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: Docflow/OutOfWorkflowUniversalMessageDocflow.proto +// Protobuf Java Version: 4.28.3 + +package Diadoc.Api.Proto.Docflow; + +public final class OutOfWorkflowUniversalMessageDocflowOuterClass { + private OutOfWorkflowUniversalMessageDocflowOuterClass() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 28, + /* patch= */ 3, + /* suffix= */ "", + OutOfWorkflowUniversalMessageDocflowOuterClass.class.getName()); + } + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface OutOfWorkflowUniversalMessageDocflowOrBuilder extends + // @@protoc_insertion_point(interface_extends:Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + java.util.List + getMessagesList(); + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow getMessages(int index); + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + int getMessagesCount(); + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + java.util.List + getMessagesOrBuilderList(); + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflowOrBuilder getMessagesOrBuilder( + int index); + } + /** + * Protobuf type {@code Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow} + */ + public static final class OutOfWorkflowUniversalMessageDocflow extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow) + OutOfWorkflowUniversalMessageDocflowOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 28, + /* patch= */ 3, + /* suffix= */ "", + OutOfWorkflowUniversalMessageDocflow.class.getName()); + } + // Use OutOfWorkflowUniversalMessageDocflow.newBuilder() to construct. + private OutOfWorkflowUniversalMessageDocflow(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private OutOfWorkflowUniversalMessageDocflow() { + messages_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.class, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder.class); + } + + public static final int MESSAGES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List messages_; + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + @java.lang.Override + public java.util.List getMessagesList() { + return messages_; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + @java.lang.Override + public java.util.List + getMessagesOrBuilderList() { + return messages_; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + @java.lang.Override + public int getMessagesCount() { + return messages_.size(); + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + @java.lang.Override + public Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow getMessages(int index) { + return messages_.get(index); + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + @java.lang.Override + public Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflowOrBuilder getMessagesOrBuilder( + int index) { + return messages_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + for (int i = 0; i < getMessagesCount(); i++) { + if (!getMessages(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < messages_.size(); i++) { + output.writeMessage(1, messages_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < messages_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, messages_.get(i)); + } + 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 Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow)) { + return super.equals(obj); + } + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow other = (Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow) obj; + + if (!getMessagesList() + .equals(other.getMessagesList())) 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(); + if (getMessagesCount() > 0) { + hash = (37 * hash) + MESSAGES_FIELD_NUMBER; + hash = (53 * hash) + getMessagesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow) + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflowOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.class, Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.Builder.class); + } + + // Construct using Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (messagesBuilder_ == null) { + messages_ = java.util.Collections.emptyList(); + } else { + messages_ = null; + messagesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_descriptor; + } + + @java.lang.Override + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getDefaultInstanceForType() { + return Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance(); + } + + @java.lang.Override + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow build() { + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow buildPartial() { + Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow result = new Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow result) { + if (messagesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + messages_ = java.util.Collections.unmodifiableList(messages_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.messages_ = messages_; + } else { + result.messages_ = messagesBuilder_.build(); + } + } + + private void buildPartial0(Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow) { + return mergeFrom((Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow other) { + if (other == Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow.getDefaultInstance()) return this; + if (messagesBuilder_ == null) { + if (!other.messages_.isEmpty()) { + if (messages_.isEmpty()) { + messages_ = other.messages_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureMessagesIsMutable(); + messages_.addAll(other.messages_); + } + onChanged(); + } + } else { + if (!other.messages_.isEmpty()) { + if (messagesBuilder_.isEmpty()) { + messagesBuilder_.dispose(); + messagesBuilder_ = null; + messages_ = other.messages_; + bitField0_ = (bitField0_ & ~0x00000001); + messagesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getMessagesFieldBuilder() : null; + } else { + messagesBuilder_.addAllMessages(other.messages_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + for (int i = 0; i < getMessagesCount(); i++) { + if (!getMessages(i).isInitialized()) { + return false; + } + } + 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: { + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow m = + input.readMessage( + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.parser(), + extensionRegistry); + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(m); + } else { + messagesBuilder_.addMessage(m); + } + break; + } // case 10 + 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.util.List messages_ = + java.util.Collections.emptyList(); + private void ensureMessagesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + messages_ = new java.util.ArrayList(messages_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflowOrBuilder> messagesBuilder_; + + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public java.util.List getMessagesList() { + if (messagesBuilder_ == null) { + return java.util.Collections.unmodifiableList(messages_); + } else { + return messagesBuilder_.getMessageList(); + } + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public int getMessagesCount() { + if (messagesBuilder_ == null) { + return messages_.size(); + } else { + return messagesBuilder_.getCount(); + } + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow getMessages(int index) { + if (messagesBuilder_ == null) { + return messages_.get(index); + } else { + return messagesBuilder_.getMessage(index); + } + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder setMessages( + int index, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.set(index, value); + onChanged(); + } else { + messagesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder setMessages( + int index, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.set(index, builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder addMessages(Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.add(value); + onChanged(); + } else { + messagesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder addMessages( + int index, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow value) { + if (messagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMessagesIsMutable(); + messages_.add(index, value); + onChanged(); + } else { + messagesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder addMessages( + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder addMessages( + int index, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder builderForValue) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.add(index, builderForValue.build()); + onChanged(); + } else { + messagesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder addAllMessages( + java.lang.Iterable values) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, messages_); + onChanged(); + } else { + messagesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder clearMessages() { + if (messagesBuilder_ == null) { + messages_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + messagesBuilder_.clear(); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Builder removeMessages(int index) { + if (messagesBuilder_ == null) { + ensureMessagesIsMutable(); + messages_.remove(index); + onChanged(); + } else { + messagesBuilder_.remove(index); + } + return this; + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder getMessagesBuilder( + int index) { + return getMessagesFieldBuilder().getBuilder(index); + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflowOrBuilder getMessagesOrBuilder( + int index) { + if (messagesBuilder_ == null) { + return messages_.get(index); } else { + return messagesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public java.util.List + getMessagesOrBuilderList() { + if (messagesBuilder_ != null) { + return messagesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(messages_); + } + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder addMessagesBuilder() { + return getMessagesFieldBuilder().addBuilder( + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.getDefaultInstance()); + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder addMessagesBuilder( + int index) { + return getMessagesFieldBuilder().addBuilder( + index, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.getDefaultInstance()); + } + /** + * repeated .Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflow Messages = 1; + */ + public java.util.List + getMessagesBuilderList() { + return getMessagesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflowOrBuilder> + getMessagesFieldBuilder() { + if (messagesBuilder_ == null) { + messagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflow.Builder, Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.UniversalMessageAttachmentDocflowOrBuilder>( + messages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + messages_ = null; + } + return messagesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow) + } + + // @@protoc_insertion_point(class_scope:Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflow) + private static final Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow(); + } + + public static Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutOfWorkflowUniversalMessageDocflow 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 Diadoc.Api.Proto.Docflow.OutOfWorkflowUniversalMessageDocflowOuterClass.OutOfWorkflowUniversalMessageDocflow getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2Docflow/OutOfWorkflowUniversalMessageD" + + "ocflow.proto\022\030Diadoc.Api.Proto.Docflow\032/" + + "Docflow/UniversalMessageAttachmentDocflo" + + "w.proto\"u\n$OutOfWorkflowUniversalMessage" + + "Docflow\022M\n\010Messages\030\001 \003(\0132;.Diadoc.Api.P" + + "roto.Docflow.UniversalMessageAttachmentD" + + "ocflow" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.getDescriptor(), + }); + internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_Diadoc_Api_Proto_Docflow_OutOfWorkflowUniversalMessageDocflow_descriptor, + new java.lang.String[] { "Messages", }); + descriptor.resolveAllFeaturesImmutable(); + Diadoc.Api.Proto.Docflow.UniversalMessageAttachmentDocflowProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/Diadoc/Api/Proto/UniversalMessageProtos.java b/src/main/java/Diadoc/Api/Proto/UniversalMessageProtos.java index c882954e..633b22a9 100644 --- a/src/main/java/Diadoc/Api/Proto/UniversalMessageProtos.java +++ b/src/main/java/Diadoc/Api/Proto/UniversalMessageProtos.java @@ -210,6 +210,17 @@ Diadoc.Api.Proto.UniversalMessageProtos.UniversalMessageEventOrBuilder getEvents * required .Diadoc.Api.Proto.UniversalMessageCreator UniversalMessageCreator = 3; */ Diadoc.Api.Proto.UniversalMessageProtos.UniversalMessageCreatorOrBuilder getUniversalMessageCreatorOrBuilder(); + + /** + * optional bool IsOutOfWorkflow = 4 [default = false]; + * @return Whether the isOutOfWorkflow field is set. + */ + boolean hasIsOutOfWorkflow(); + /** + * optional bool IsOutOfWorkflow = 4 [default = false]; + * @return The isOutOfWorkflow. + */ + boolean getIsOutOfWorkflow(); } /** * Protobuf type {@code Diadoc.Api.Proto.UniversalMessageInfo} @@ -336,6 +347,25 @@ public Diadoc.Api.Proto.UniversalMessageProtos.UniversalMessageCreatorOrBuilder return universalMessageCreator_ == null ? Diadoc.Api.Proto.UniversalMessageProtos.UniversalMessageCreator.getDefaultInstance() : universalMessageCreator_; } + public static final int ISOUTOFWORKFLOW_FIELD_NUMBER = 4; + private boolean isOutOfWorkflow_ = false; + /** + * optional bool IsOutOfWorkflow = 4 [default = false]; + * @return Whether the isOutOfWorkflow field is set. + */ + @java.lang.Override + public boolean hasIsOutOfWorkflow() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional bool IsOutOfWorkflow = 4 [default = false]; + * @return The isOutOfWorkflow. + */ + @java.lang.Override + public boolean getIsOutOfWorkflow() { + return isOutOfWorkflow_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -373,6 +403,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUniversalMessageCreator()); } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(4, isOutOfWorkflow_); + } getUnknownFields().writeTo(output); } @@ -394,6 +427,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getUniversalMessageCreator()); } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, isOutOfWorkflow_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -420,6 +457,11 @@ public boolean equals(final java.lang.Object obj) { if (!getUniversalMessageCreator() .equals(other.getUniversalMessageCreator())) return false; } + if (hasIsOutOfWorkflow() != other.hasIsOutOfWorkflow()) return false; + if (hasIsOutOfWorkflow()) { + if (getIsOutOfWorkflow() + != other.getIsOutOfWorkflow()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -443,6 +485,11 @@ public int hashCode() { hash = (37 * hash) + UNIVERSALMESSAGECREATOR_FIELD_NUMBER; hash = (53 * hash) + getUniversalMessageCreator().hashCode(); } + if (hasIsOutOfWorkflow()) { + hash = (37 * hash) + ISOUTOFWORKFLOW_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsOutOfWorkflow()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -594,6 +641,7 @@ public Builder clear() { universalMessageCreatorBuilder_.dispose(); universalMessageCreatorBuilder_ = null; } + isOutOfWorkflow_ = false; return this; } @@ -651,6 +699,10 @@ private void buildPartial0(Diadoc.Api.Proto.UniversalMessageProtos.UniversalMess : universalMessageCreatorBuilder_.build(); to_bitField0_ |= 0x00000002; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.isOutOfWorkflow_ = isOutOfWorkflow_; + to_bitField0_ |= 0x00000004; + } result.bitField0_ |= to_bitField0_; } @@ -698,6 +750,9 @@ public Builder mergeFrom(Diadoc.Api.Proto.UniversalMessageProtos.UniversalMessag if (other.hasUniversalMessageCreator()) { mergeUniversalMessageCreator(other.getUniversalMessageCreator()); } + if (other.hasIsOutOfWorkflow()) { + setIsOutOfWorkflow(other.getIsOutOfWorkflow()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -767,6 +822,11 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 32: { + isOutOfWorkflow_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -1187,6 +1247,46 @@ public Diadoc.Api.Proto.UniversalMessageProtos.UniversalMessageCreatorOrBuilder return universalMessageCreatorBuilder_; } + private boolean isOutOfWorkflow_ ; + /** + * optional bool IsOutOfWorkflow = 4 [default = false]; + * @return Whether the isOutOfWorkflow field is set. + */ + @java.lang.Override + public boolean hasIsOutOfWorkflow() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional bool IsOutOfWorkflow = 4 [default = false]; + * @return The isOutOfWorkflow. + */ + @java.lang.Override + public boolean getIsOutOfWorkflow() { + return isOutOfWorkflow_; + } + /** + * optional bool IsOutOfWorkflow = 4 [default = false]; + * @param value The isOutOfWorkflow to set. + * @return This builder for chaining. + */ + public Builder setIsOutOfWorkflow(boolean value) { + + isOutOfWorkflow_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * optional bool IsOutOfWorkflow = 4 [default = false]; + * @return This builder for chaining. + */ + public Builder clearIsOutOfWorkflow() { + bitField0_ = (bitField0_ & ~0x00000008); + isOutOfWorkflow_ = false; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.UniversalMessageInfo) } @@ -2644,20 +2744,21 @@ public Diadoc.Api.Proto.UniversalMessageProtos.UniversalMessageCreator getDefaul static { java.lang.String[] descriptorData = { "\n\026UniversalMessage.proto\022\020Diadoc.Api.Pro" + - "to\"\375\001\n\024UniversalMessageInfo\022`\n\tCodeGroup" + + "to\"\235\002\n\024UniversalMessageInfo\022`\n\tCodeGroup" + "\030\001 \001(\0162+.Diadoc.Api.Proto.UniversalMessa" + "geCodeGroup: UnknownUniversalMessageCode" + "Group\0227\n\006Events\030\002 \003(\0132\'.Diadoc.Api.Proto" + ".UniversalMessageEvent\022J\n\027UniversalMessa" + "geCreator\030\003 \002(\0132).Diadoc.Api.Proto.Unive" + - "rsalMessageCreator\">\n\025UniversalMessageEv" + - "ent\022\022\n\nStatusCode\030\001 \002(\005\022\021\n\tPlainText\030\002 \001" + - "(\t\">\n\027UniversalMessageCreator\022\r\n\005BoxId\030\001" + - " \002(\t\022\024\n\014DepartmentId\030\002 \002(\t*\213\001\n\031Universal" + - "MessageCodeGroup\022$\n UnknownUniversalMess" + - "ageCodeGroup\020\000\022\013\n\007Receipt\020\001\022\024\n\020Amendment" + - "Request\020\002\022\r\n\tRejection\020\003\022\026\n\022InformationM" + - "essage\020\004B\030B\026UniversalMessageProtos" + "rsalMessageCreator\022\036\n\017IsOutOfWorkflow\030\004 " + + "\001(\010:\005false\">\n\025UniversalMessageEvent\022\022\n\nS" + + "tatusCode\030\001 \002(\005\022\021\n\tPlainText\030\002 \001(\t\">\n\027Un" + + "iversalMessageCreator\022\r\n\005BoxId\030\001 \002(\t\022\024\n\014" + + "DepartmentId\030\002 \002(\t*\213\001\n\031UniversalMessageC" + + "odeGroup\022$\n UnknownUniversalMessageCodeG" + + "roup\020\000\022\013\n\007Receipt\020\001\022\024\n\020AmendmentRequest\020" + + "\002\022\r\n\tRejection\020\003\022\026\n\022InformationMessage\020\004" + + "B\030B\026UniversalMessageProtos" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -2668,7 +2769,7 @@ public Diadoc.Api.Proto.UniversalMessageProtos.UniversalMessageCreator getDefaul internal_static_Diadoc_Api_Proto_UniversalMessageInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_UniversalMessageInfo_descriptor, - new java.lang.String[] { "CodeGroup", "Events", "UniversalMessageCreator", }); + new java.lang.String[] { "CodeGroup", "Events", "UniversalMessageCreator", "IsOutOfWorkflow", }); internal_static_Diadoc_Api_Proto_UniversalMessageEvent_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Diadoc_Api_Proto_UniversalMessageEvent_fieldAccessorTable = new