diff --git a/proto/Events/CounteragentEventType.proto b/proto/Events/CounteragentEventType.proto new file mode 100644 index 00000000..a5cccbc5 --- /dev/null +++ b/proto/Events/CounteragentEventType.proto @@ -0,0 +1,20 @@ +package Diadoc.Api.Proto.Events; + +enum CounteragentEventType +{ + UnknownCounteragentEventType = 0; + IInvitedCounteragent = 1; + CounteragentInvitedMe = 2; + CounteragentAcceptedInvitation = 3; + IAcceptedInvitation = 4; + IWithdrewInvitation = 5; + CounteragentWithdrewInvitation = 6; + IRejectedInvitation = 7; + CounteragentRejectedInvitation = 8; + IBrokeUpWithCounteragent = 9; + CounteragentBrokeUpWithMe = 10; + IForgotCounteragent = 11; + CounteragentForgotMe = 12; + IMadeCounteragent = 13; + CounteragentMadeMe = 14; +} \ No newline at end of file diff --git a/proto/Events/DiadocCounteragent-GetApi.proto b/proto/Events/DiadocCounteragent-GetApi.proto index b4bbbf9c..afbd4c6f 100644 --- a/proto/Events/DiadocCounteragent-GetApi.proto +++ b/proto/Events/DiadocCounteragent-GetApi.proto @@ -5,6 +5,7 @@ import "Counteragent.proto"; import "TotalCountType.proto"; import "DocumentId.proto"; +import "Events/CounteragentEventType.proto"; package Diadoc.Api.Proto.Events; @@ -18,6 +19,7 @@ message BoxCounteragentEvent { required string EventId = 1; optional CounteragentInfo Counteragent = 2; optional string IndexKey = 3; + repeated CounteragentEventType EventTypes = 4; } message CounteragentInfo { diff --git a/src/main/java/Diadoc/Api/Proto/Events/CounteragentEventTypeProtos.java b/src/main/java/Diadoc/Api/Proto/Events/CounteragentEventTypeProtos.java new file mode 100644 index 00000000..364c2dab --- /dev/null +++ b/src/main/java/Diadoc/Api/Proto/Events/CounteragentEventTypeProtos.java @@ -0,0 +1,249 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Events/CounteragentEventType.proto + +package Diadoc.Api.Proto.Events; + +public final class CounteragentEventTypeProtos { + private CounteragentEventTypeProtos() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + } + /** + * Protobuf enum {@code Diadoc.Api.Proto.Events.CounteragentEventType} + */ + public enum CounteragentEventType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * UnknownCounteragentEventType = 0; + */ + UnknownCounteragentEventType(0, 0), + /** + * IInvitedCounteragent = 1; + */ + IInvitedCounteragent(1, 1), + /** + * CounteragentInvitedMe = 2; + */ + CounteragentInvitedMe(2, 2), + /** + * CounteragentAcceptedInvitation = 3; + */ + CounteragentAcceptedInvitation(3, 3), + /** + * IAcceptedInvitation = 4; + */ + IAcceptedInvitation(4, 4), + /** + * IWithdrewInvitation = 5; + */ + IWithdrewInvitation(5, 5), + /** + * CounteragentWithdrewInvitation = 6; + */ + CounteragentWithdrewInvitation(6, 6), + /** + * IRejectedInvitation = 7; + */ + IRejectedInvitation(7, 7), + /** + * CounteragentRejectedInvitation = 8; + */ + CounteragentRejectedInvitation(8, 8), + /** + * IBrokeUpWithCounteragent = 9; + */ + IBrokeUpWithCounteragent(9, 9), + /** + * CounteragentBrokeUpWithMe = 10; + */ + CounteragentBrokeUpWithMe(10, 10), + /** + * IForgotCounteragent = 11; + */ + IForgotCounteragent(11, 11), + /** + * CounteragentForgotMe = 12; + */ + CounteragentForgotMe(12, 12), + /** + * IMadeCounteragent = 13; + */ + IMadeCounteragent(13, 13), + /** + * CounteragentMadeMe = 14; + */ + CounteragentMadeMe(14, 14), + ; + + /** + * UnknownCounteragentEventType = 0; + */ + public static final int UnknownCounteragentEventType_VALUE = 0; + /** + * IInvitedCounteragent = 1; + */ + public static final int IInvitedCounteragent_VALUE = 1; + /** + * CounteragentInvitedMe = 2; + */ + public static final int CounteragentInvitedMe_VALUE = 2; + /** + * CounteragentAcceptedInvitation = 3; + */ + public static final int CounteragentAcceptedInvitation_VALUE = 3; + /** + * IAcceptedInvitation = 4; + */ + public static final int IAcceptedInvitation_VALUE = 4; + /** + * IWithdrewInvitation = 5; + */ + public static final int IWithdrewInvitation_VALUE = 5; + /** + * CounteragentWithdrewInvitation = 6; + */ + public static final int CounteragentWithdrewInvitation_VALUE = 6; + /** + * IRejectedInvitation = 7; + */ + public static final int IRejectedInvitation_VALUE = 7; + /** + * CounteragentRejectedInvitation = 8; + */ + public static final int CounteragentRejectedInvitation_VALUE = 8; + /** + * IBrokeUpWithCounteragent = 9; + */ + public static final int IBrokeUpWithCounteragent_VALUE = 9; + /** + * CounteragentBrokeUpWithMe = 10; + */ + public static final int CounteragentBrokeUpWithMe_VALUE = 10; + /** + * IForgotCounteragent = 11; + */ + public static final int IForgotCounteragent_VALUE = 11; + /** + * CounteragentForgotMe = 12; + */ + public static final int CounteragentForgotMe_VALUE = 12; + /** + * IMadeCounteragent = 13; + */ + public static final int IMadeCounteragent_VALUE = 13; + /** + * CounteragentMadeMe = 14; + */ + public static final int CounteragentMadeMe_VALUE = 14; + + + public final int getNumber() { return value; } + + public static CounteragentEventType valueOf(int value) { + switch (value) { + case 0: return UnknownCounteragentEventType; + case 1: return IInvitedCounteragent; + case 2: return CounteragentInvitedMe; + case 3: return CounteragentAcceptedInvitation; + case 4: return IAcceptedInvitation; + case 5: return IWithdrewInvitation; + case 6: return CounteragentWithdrewInvitation; + case 7: return IRejectedInvitation; + case 8: return CounteragentRejectedInvitation; + case 9: return IBrokeUpWithCounteragent; + case 10: return CounteragentBrokeUpWithMe; + case 11: return IForgotCounteragent; + case 12: return CounteragentForgotMe; + case 13: return IMadeCounteragent; + case 14: return CounteragentMadeMe; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CounteragentEventType findValueByNumber(int number) { + return CounteragentEventType.valueOf(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(index); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.getDescriptor().getEnumTypes().get(0); + } + + private static final CounteragentEventType[] VALUES = values(); + + public static CounteragentEventType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + + private final int index; + private final int value; + + private CounteragentEventType(int index, int value) { + this.index = index; + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:Diadoc.Api.Proto.Events.CounteragentEventType) + } + + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\"Events/CounteragentEventType.proto\022\027Di" + + "adoc.Api.Proto.Events*\304\003\n\025CounteragentEv" + + "entType\022 \n\034UnknownCounteragentEventType\020" + + "\000\022\030\n\024IInvitedCounteragent\020\001\022\031\n\025Counterag" + + "entInvitedMe\020\002\022\"\n\036CounteragentAcceptedIn" + + "vitation\020\003\022\027\n\023IAcceptedInvitation\020\004\022\027\n\023I" + + "WithdrewInvitation\020\005\022\"\n\036CounteragentWith" + + "drewInvitation\020\006\022\027\n\023IRejectedInvitation\020" + + "\007\022\"\n\036CounteragentRejectedInvitation\020\010\022\034\n" + + "\030IBrokeUpWithCounteragent\020\t\022\035\n\031Counterag", + "entBrokeUpWithMe\020\n\022\027\n\023IForgotCounteragen" + + "t\020\013\022\030\n\024CounteragentForgotMe\020\014\022\025\n\021IMadeCo" + + "unteragent\020\r\022\026\n\022CounteragentMadeMe\020\016B\035B\033" + + "CounteragentEventTypeProtos" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/Diadoc/Api/Proto/Events/DiadocCounteragent_GetApiProtos.java b/src/main/java/Diadoc/Api/Proto/Events/DiadocCounteragent_GetApiProtos.java index 2fed25fc..86e08d88 100644 --- a/src/main/java/Diadoc/Api/Proto/Events/DiadocCounteragent_GetApiProtos.java +++ b/src/main/java/Diadoc/Api/Proto/Events/DiadocCounteragent_GetApiProtos.java @@ -916,6 +916,19 @@ public interface BoxCounteragentEventOrBuilder extends */ com.google.protobuf.ByteString getIndexKeyBytes(); + + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + java.util.List getEventTypesList(); + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + int getEventTypesCount(); + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType getEventTypes(int index); } /** * Protobuf type {@code Diadoc.Api.Proto.Events.BoxCounteragentEvent} @@ -994,6 +1007,39 @@ private BoxCounteragentEvent( indexKey_ = bs; break; } + case 32: { + int rawValue = input.readEnum(); + Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType value = Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(4, rawValue); + } else { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + eventTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + eventTypes_.add(value); + } + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType value = Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(4, rawValue); + } else { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + eventTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + eventTypes_.add(value); + } + } + input.popLimit(oldLimit); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1002,6 +1048,9 @@ private BoxCounteragentEvent( throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + eventTypes_ = java.util.Collections.unmodifiableList(eventTypes_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -1139,10 +1188,32 @@ public java.lang.String getIndexKey() { } } + public static final int EVENTTYPES_FIELD_NUMBER = 4; + private java.util.List eventTypes_; + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public java.util.List getEventTypesList() { + return eventTypes_; + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public int getEventTypesCount() { + return eventTypes_.size(); + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType getEventTypes(int index) { + return eventTypes_.get(index); + } + private void initFields() { eventId_ = ""; counteragent_ = Diadoc.Api.Proto.Events.DiadocCounteragent_GetApiProtos.CounteragentInfo.getDefaultInstance(); indexKey_ = ""; + eventTypes_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -1176,6 +1247,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getIndexKeyBytes()); } + for (int i = 0; i < eventTypes_.size(); i++) { + output.writeEnum(4, eventTypes_.get(i).getNumber()); + } getUnknownFields().writeTo(output); } @@ -1197,6 +1271,15 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getIndexKeyBytes()); } + { + int dataSize = 0; + for (int i = 0; i < eventTypes_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(eventTypes_.get(i).getNumber()); + } + size += dataSize; + size += 1 * eventTypes_.size(); + } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; @@ -1325,6 +1408,8 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000002); indexKey_ = ""; bitField0_ = (bitField0_ & ~0x00000004); + eventTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -1369,6 +1454,11 @@ public Diadoc.Api.Proto.Events.DiadocCounteragent_GetApiProtos.BoxCounteragentEv to_bitField0_ |= 0x00000004; } result.indexKey_ = indexKey_; + if (((bitField0_ & 0x00000008) == 0x00000008)) { + eventTypes_ = java.util.Collections.unmodifiableList(eventTypes_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.eventTypes_ = eventTypes_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -1398,6 +1488,16 @@ public Builder mergeFrom(Diadoc.Api.Proto.Events.DiadocCounteragent_GetApiProtos indexKey_ = other.indexKey_; onChanged(); } + if (!other.eventTypes_.isEmpty()) { + if (eventTypes_.isEmpty()) { + eventTypes_ = other.eventTypes_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureEventTypesIsMutable(); + eventTypes_.addAll(other.eventTypes_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -1703,6 +1803,78 @@ public Builder setIndexKeyBytes( return this; } + private java.util.List eventTypes_ = + java.util.Collections.emptyList(); + private void ensureEventTypesIsMutable() { + if (!((bitField0_ & 0x00000008) == 0x00000008)) { + eventTypes_ = new java.util.ArrayList(eventTypes_); + bitField0_ |= 0x00000008; + } + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public java.util.List getEventTypesList() { + return java.util.Collections.unmodifiableList(eventTypes_); + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public int getEventTypesCount() { + return eventTypes_.size(); + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType getEventTypes(int index) { + return eventTypes_.get(index); + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public Builder setEventTypes( + int index, Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEventTypesIsMutable(); + eventTypes_.set(index, value); + onChanged(); + return this; + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public Builder addEventTypes(Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.CounteragentEventType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEventTypesIsMutable(); + eventTypes_.add(value); + onChanged(); + return this; + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public Builder addAllEventTypes( + java.lang.Iterable values) { + ensureEventTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, eventTypes_); + onChanged(); + return this; + } + /** + * repeated .Diadoc.Api.Proto.Events.CounteragentEventType EventTypes = 4; + */ + public Builder clearEventTypes() { + eventTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Events.BoxCounteragentEvent) } @@ -3235,23 +3407,25 @@ public Builder setCounteragentGroupIdBytes( "\n&Events/DiadocCounteragent-GetApi.proto" + "\022\027Diadoc.Api.Proto.Events\032\022Counteragent." + "proto\032\024TotalCountType.proto\032\020DocumentId." + - "proto\"\247\001\n\030BoxCounteragentEventList\022=\n\006Ev" + - "ents\030\001 \003(\0132-.Diadoc.Api.Proto.Events.Box" + - "CounteragentEvent\022\022\n\nTotalCount\030\002 \001(\005\0228\n" + - "\016TotalCountType\030\003 \002(\0162 .Diadoc.Api.Proto" + - ".TotalCountType\"z\n\024BoxCounteragentEvent\022" + - "\017\n\007EventId\030\001 \002(\t\022?\n\014Counteragent\030\002 \001(\0132)" + - ".Diadoc.Api.Proto.Events.CounteragentInf", - "o\022\020\n\010IndexKey\030\003 \001(\t\"\263\002\n\020CounteragentInfo" + - "\022\031\n\021CounteragentBoxId\030\001 \002(\t\0224\n\006Status\030\002 " + - "\002(\0162$.Diadoc.Api.Proto.CounteragentStatu" + - "s\022\033\n\023EventTimestampTicks\030\003 \002(\020\022\030\n\020LastEv" + - "entComment\030\004 \001(\t\022\037\n\027MessageFromCounterag" + - "ent\030\005 \001(\t\022\035\n\025MessageToCounteragent\030\006 \001(\t" + - "\022:\n\024InvitationDocumentId\030\007 \001(\0132\034.Diadoc." + - "Api.Proto.DocumentId\022\033\n\023CounteragentGrou" + - "pId\030\010 \001(\tB!B\037DiadocCounteragent_GetApiPr" + - "otos" + "proto\032\"Events/CounteragentEventType.prot" + + "o\"\247\001\n\030BoxCounteragentEventList\022=\n\006Events" + + "\030\001 \003(\0132-.Diadoc.Api.Proto.Events.BoxCoun" + + "teragentEvent\022\022\n\nTotalCount\030\002 \001(\005\0228\n\016Tot" + + "alCountType\030\003 \002(\0162 .Diadoc.Api.Proto.Tot" + + "alCountType\"\276\001\n\024BoxCounteragentEvent\022\017\n\007" + + "EventId\030\001 \002(\t\022?\n\014Counteragent\030\002 \001(\0132).Di", + "adoc.Api.Proto.Events.CounteragentInfo\022\020" + + "\n\010IndexKey\030\003 \001(\t\022B\n\nEventTypes\030\004 \003(\0162..D" + + "iadoc.Api.Proto.Events.CounteragentEvent" + + "Type\"\263\002\n\020CounteragentInfo\022\031\n\021Counteragen" + + "tBoxId\030\001 \002(\t\0224\n\006Status\030\002 \002(\0162$.Diadoc.Ap" + + "i.Proto.CounteragentStatus\022\033\n\023EventTimes" + + "tampTicks\030\003 \002(\020\022\030\n\020LastEventComment\030\004 \001(" + + "\t\022\037\n\027MessageFromCounteragent\030\005 \001(\t\022\035\n\025Me" + + "ssageToCounteragent\030\006 \001(\t\022:\n\024InvitationD" + + "ocumentId\030\007 \001(\0132\034.Diadoc.Api.Proto.Docum", + "entId\022\033\n\023CounteragentGroupId\030\010 \001(\tB!B\037Di" + + "adocCounteragent_GetApiProtos" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -3267,6 +3441,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( Diadoc.Api.Proto.CounteragentProtos.getDescriptor(), Diadoc.Api.Proto.TotalCountTypeProtos.getDescriptor(), Diadoc.Api.Proto.DocumentIdProtos.getDescriptor(), + Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.getDescriptor(), }, assigner); internal_static_Diadoc_Api_Proto_Events_BoxCounteragentEventList_descriptor = getDescriptor().getMessageTypes().get(0); @@ -3279,7 +3454,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_Diadoc_Api_Proto_Events_BoxCounteragentEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_Events_BoxCounteragentEvent_descriptor, - new java.lang.String[] { "EventId", "Counteragent", "IndexKey", }); + new java.lang.String[] { "EventId", "Counteragent", "IndexKey", "EventTypes", }); internal_static_Diadoc_Api_Proto_Events_CounteragentInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Diadoc_Api_Proto_Events_CounteragentInfo_fieldAccessorTable = new @@ -3289,6 +3464,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( Diadoc.Api.Proto.CounteragentProtos.getDescriptor(); Diadoc.Api.Proto.TotalCountTypeProtos.getDescriptor(); Diadoc.Api.Proto.DocumentIdProtos.getDescriptor(); + Diadoc.Api.Proto.Events.CounteragentEventTypeProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope)