From 539c9db6e579fb1ad8ac8d7d3fd99a2b0db054d3 Mon Sep 17 00:00:00 2001 From: AlibabaRazboinik Date: Sun, 1 Dec 2024 18:51:47 +0500 Subject: [PATCH] fix cake --- build.cake | 8 +- pom.xml | 2 +- .../Diadoc/Api/Proto/CloudSignProtos.java | 972 ++++++++---------- .../Events/DiadocMessage_PostApiProtos.java | 421 ++++++-- 4 files changed, 786 insertions(+), 617 deletions(-) diff --git a/build.cake b/build.cake index 8391602e..65c0ba84 100644 --- a/build.cake +++ b/build.cake @@ -14,8 +14,8 @@ var protocExe = protocBinDir.CombineWithFilePath("protoc.exe"); var mvnTool = new [] { "mvn.cmd", "mvn.exe", "mvn" }.Select(x => Context.Tools.Resolve(x)).Where(x => x != null).FirstOrDefault(); //Deprecated -var targetFiles = { "CloudSignProtos.java" }; -var targetClasses = { "CloudSignFile", "CloudSignResult", "CloudSignConfirmResult" }; +var targetFiles = new [] { "CloudSignProtos.java" }; +var targetClasses = new [] { "CloudSignFile", "CloudSignResult", "CloudSignConfirmResult", "CloudSignRequest" }; ////////////////////////////////////////////////////////////////////// // TASKS @@ -57,7 +57,7 @@ Task("GenerateProtoFiles") CompileProtoFiles(patchedProtoFiles, modifiedProtoDir, destinationProtoDir); - AddDeprecatedToCloudSignProtos(destinationProtoDir); + AddDeprecatedAnnotations(destinationProtoDir); }); public void AddDeprecatedAnnotations(DirectoryPath destinationDir) @@ -90,7 +90,7 @@ public void AddDeprecatedAnnotations(DirectoryPath destinationDir) continue; } - lines.Insert(i, "@Deprecated"); + lines.Insert(i, " @java.lang.Deprecated"); modified = true; Information("Added @Deprecated to class {0} in file {1}", targetClass, fileName); break; diff --git a/pom.xml b/pom.xml index 07de5483..4497a9f7 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 ru.kontur.diadoc diadocsdk - 3.24.1-rc.2 + 3.24.0-dev.5448.33886 jar diff --git a/src/main/java/Diadoc/Api/Proto/CloudSignProtos.java b/src/main/java/Diadoc/Api/Proto/CloudSignProtos.java index f1d5d830..113c8288 100644 --- a/src/main/java/Diadoc/Api/Proto/CloudSignProtos.java +++ b/src/main/java/Diadoc/Api/Proto/CloudSignProtos.java @@ -3,7 +3,6 @@ package Diadoc.Api.Proto; -@Deprecated public final class CloudSignProtos { private CloudSignProtos() {} public static void registerAllExtensions( @@ -16,30 +15,31 @@ public interface CloudSignRequestOrBuilder extends /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated java.util.List + @java.lang.Deprecated java.util.List getFilesList(); /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated CloudSignFile getFiles(int index); + @java.lang.Deprecated Diadoc.Api.Proto.CloudSignProtos.CloudSignFile getFiles(int index); /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated int getFilesCount(); + @java.lang.Deprecated int getFilesCount(); /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated java.util.List + @java.lang.Deprecated java.util.List getFilesOrBuilderList(); /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated CloudSignFileOrBuilder getFilesOrBuilder( + @java.lang.Deprecated Diadoc.Api.Proto.CloudSignProtos.CloudSignFileOrBuilder getFilesOrBuilder( int index); } /** * Protobuf type {@code Diadoc.Api.Proto.CloudSignRequest} */ + @java.lang.Deprecated public static final class CloudSignRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.CloudSignRequest) @@ -61,7 +61,7 @@ public CloudSignRequest getDefaultInstanceForType() { } private final com.google.protobuf.UnknownFieldSet unknownFields; - @Override + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -91,10 +91,10 @@ private CloudSignRequest( } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - files_ = new java.util.ArrayList(); + files_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - files_.add(input.readMessage(CloudSignFile.PARSER, extensionRegistry)); + files_.add(input.readMessage(Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.PARSER, extensionRegistry)); break; } } @@ -114,14 +114,14 @@ private CloudSignRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - CloudSignRequest.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest.class, Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -134,42 +134,42 @@ public CloudSignRequest parsePartialFrom( } }; - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int FILES_FIELD_NUMBER = 1; - private java.util.List files_; + private java.util.List files_; /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public java.util.List getFilesList() { + @java.lang.Deprecated public java.util.List getFilesList() { return files_; } /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public java.util.List + @java.lang.Deprecated public java.util.List getFilesOrBuilderList() { return files_; } /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public int getFilesCount() { + @java.lang.Deprecated public int getFilesCount() { return files_.size(); } /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public CloudSignFile getFiles(int index) { + @java.lang.Deprecated public Diadoc.Api.Proto.CloudSignProtos.CloudSignFile getFiles(int index) { return files_.get(index); } /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public CloudSignFileOrBuilder getFilesOrBuilder( + @java.lang.Deprecated public Diadoc.Api.Proto.CloudSignProtos.CloudSignFileOrBuilder getFilesOrBuilder( int index) { return files_.get(index); } @@ -218,59 +218,59 @@ public int getSerializedSize() { } private static final long serialVersionUID = 0L; - @Override - protected Object writeReplace() + @java.lang.Override + protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - public static CloudSignRequest parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static CloudSignRequest parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static CloudSignRequest parseFrom(byte[] data) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static CloudSignRequest parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static CloudSignRequest parseFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static CloudSignRequest parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static CloudSignRequest parseDelimitedFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static CloudSignRequest parseDelimitedFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static CloudSignRequest parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static CloudSignRequest parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -279,14 +279,14 @@ public static CloudSignRequest parseFrom( public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(CloudSignRequest prototype) { + public static Builder newBuilder(Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - @Override + @java.lang.Override protected Builder newBuilderForType( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -296,17 +296,17 @@ protected Builder newBuilderForType( public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Diadoc.Api.Proto.CloudSignRequest) - CloudSignRequestOrBuilder { + Diadoc.Api.Proto.CloudSignProtos.CloudSignRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - CloudSignRequest.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest.class, Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest.Builder.class); } // Construct using Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest.newBuilder() @@ -315,7 +315,7 @@ private Builder() { } private Builder( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -345,23 +345,23 @@ public Builder clone() { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignRequest_descriptor; } - public CloudSignRequest getDefaultInstanceForType() { - return CloudSignRequest.getDefaultInstance(); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest getDefaultInstanceForType() { + return Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest.getDefaultInstance(); } - public CloudSignRequest build() { - CloudSignRequest result = buildPartial(); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest build() { + Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public CloudSignRequest buildPartial() { - CloudSignRequest result = new CloudSignRequest(this); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest buildPartial() { + Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest result = new Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -377,16 +377,16 @@ public CloudSignRequest buildPartial() { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof CloudSignRequest) { - return mergeFrom((CloudSignRequest)other); + if (other instanceof Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest) { + return mergeFrom((Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(CloudSignRequest other) { - if (other == CloudSignRequest.getDefaultInstance()) return this; + public Builder mergeFrom(Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest other) { + if (other == Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -431,11 +431,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - CloudSignRequest parsedMessage = null; + Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (CloudSignRequest) e.getUnfinishedMessage(); + parsedMessage = (Diadoc.Api.Proto.CloudSignProtos.CloudSignRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -446,22 +446,22 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List files_ = + private java.util.List files_ = java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - files_ = new java.util.ArrayList(files_); + files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< - CloudSignFile, CloudSignFile.Builder, CloudSignFileOrBuilder> filesBuilder_; + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder, Diadoc.Api.Proto.CloudSignProtos.CloudSignFileOrBuilder> filesBuilder_; /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public java.util.List getFilesList() { + @java.lang.Deprecated public java.util.List getFilesList() { if (filesBuilder_ == null) { return java.util.Collections.unmodifiableList(files_); } else { @@ -471,7 +471,7 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public int getFilesCount() { + @java.lang.Deprecated public int getFilesCount() { if (filesBuilder_ == null) { return files_.size(); } else { @@ -481,7 +481,7 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public CloudSignFile getFiles(int index) { + @java.lang.Deprecated public Diadoc.Api.Proto.CloudSignProtos.CloudSignFile getFiles(int index) { if (filesBuilder_ == null) { return files_.get(index); } else { @@ -491,8 +491,8 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder setFiles( - int index, CloudSignFile value) { + @java.lang.Deprecated public Builder setFiles( + int index, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -508,8 +508,8 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder setFiles( - int index, CloudSignFile.Builder builderForValue) { + @java.lang.Deprecated public Builder setFiles( + int index, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.set(index, builderForValue.build()); @@ -522,7 +522,7 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder addFiles(CloudSignFile value) { + @java.lang.Deprecated public Builder addFiles(Diadoc.Api.Proto.CloudSignProtos.CloudSignFile value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -538,8 +538,8 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder addFiles( - int index, CloudSignFile value) { + @java.lang.Deprecated public Builder addFiles( + int index, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -555,8 +555,8 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder addFiles( - CloudSignFile.Builder builderForValue) { + @java.lang.Deprecated public Builder addFiles( + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -569,8 +569,8 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder addFiles( - int index, CloudSignFile.Builder builderForValue) { + @java.lang.Deprecated public Builder addFiles( + int index, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(index, builderForValue.build()); @@ -583,8 +583,8 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder addAllFiles( - Iterable values) { + @java.lang.Deprecated public Builder addAllFiles( + java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -598,7 +598,7 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder clearFiles() { + @java.lang.Deprecated public Builder clearFiles() { if (filesBuilder_ == null) { files_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); @@ -611,7 +611,7 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public Builder removeFiles(int index) { + @java.lang.Deprecated public Builder removeFiles(int index) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.remove(index); @@ -624,14 +624,14 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public CloudSignFile.Builder getFilesBuilder( + @java.lang.Deprecated public Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder getFilesBuilder( int index) { return getFilesFieldBuilder().getBuilder(index); } /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public CloudSignFileOrBuilder getFilesOrBuilder( + @java.lang.Deprecated public Diadoc.Api.Proto.CloudSignProtos.CloudSignFileOrBuilder getFilesOrBuilder( int index) { if (filesBuilder_ == null) { return files_.get(index); } else { @@ -641,7 +641,7 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public java.util.List + @java.lang.Deprecated public java.util.List getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); @@ -652,31 +652,31 @@ private void ensureFilesIsMutable() { /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public CloudSignFile.Builder addFilesBuilder() { + @java.lang.Deprecated public Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder addFilesBuilder() { return getFilesFieldBuilder().addBuilder( - CloudSignFile.getDefaultInstance()); + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.getDefaultInstance()); } /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public CloudSignFile.Builder addFilesBuilder( + @java.lang.Deprecated public Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder addFilesBuilder( int index) { return getFilesFieldBuilder().addBuilder( - index, CloudSignFile.getDefaultInstance()); + index, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.getDefaultInstance()); } /** * repeated .Diadoc.Api.Proto.CloudSignFile Files = 1 [deprecated = true]; */ - @Deprecated public java.util.List + @java.lang.Deprecated public java.util.List getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< - CloudSignFile, CloudSignFile.Builder, CloudSignFileOrBuilder> + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder, Diadoc.Api.Proto.CloudSignProtos.CloudSignFileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - CloudSignFile, CloudSignFile.Builder, CloudSignFileOrBuilder>( + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder, Diadoc.Api.Proto.CloudSignProtos.CloudSignFileOrBuilder>( files_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), @@ -704,42 +704,34 @@ public interface CloudSignFileOrBuilder extends /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated boolean hasContent(); + @java.lang.Deprecated boolean hasContent(); /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated Content_v2Protos.Content_v2 getContent(); + @java.lang.Deprecated Diadoc.Api.Proto.Content_v2Protos.Content_v2 getContent(); /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated Content_v2Protos.Content_v2OrBuilder getContentOrBuilder(); + @java.lang.Deprecated Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder getContentOrBuilder(); /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated boolean hasFileName(); + @java.lang.Deprecated boolean hasFileName(); /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated String getFileName(); + @java.lang.Deprecated java.lang.String getFileName(); /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated com.google.protobuf.ByteString + @java.lang.Deprecated com.google.protobuf.ByteString getFileNameBytes(); - - /** - * optional bool deprecated = 3 [default = true]; - */ - boolean hasDeprecated(); - /** - * optional bool deprecated = 3 [default = true]; - */ - boolean getDeprecated(); } /** * Protobuf type {@code Diadoc.Api.Proto.CloudSignFile} */ + @java.lang.Deprecated public static final class CloudSignFile extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.CloudSignFile) @@ -761,7 +753,7 @@ public CloudSignFile getDefaultInstanceForType() { } private final com.google.protobuf.UnknownFieldSet unknownFields; - @Override + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -790,11 +782,11 @@ private CloudSignFile( break; } case 10: { - Content_v2Protos.Content_v2.Builder subBuilder = null; + Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = content_.toBuilder(); } - content_ = input.readMessage(Content_v2Protos.Content_v2.PARSER, extensionRegistry); + content_ = input.readMessage(Diadoc.Api.Proto.Content_v2Protos.Content_v2.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(content_); content_ = subBuilder.buildPartial(); @@ -808,11 +800,6 @@ private CloudSignFile( fileName_ = bs; break; } - case 24: { - bitField0_ |= 0x00000004; - deprecated_ = input.readBool(); - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -827,14 +814,14 @@ private CloudSignFile( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - CloudSignFile.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.class, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -847,52 +834,52 @@ public CloudSignFile parsePartialFrom( } }; - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int CONTENT_FIELD_NUMBER = 1; - private Content_v2Protos.Content_v2 content_; + private Diadoc.Api.Proto.Content_v2Protos.Content_v2 content_; /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public boolean hasContent() { + @java.lang.Deprecated public boolean hasContent() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2 getContent() { + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2 getContent() { return content_; } /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2OrBuilder getContentOrBuilder() { + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder getContentOrBuilder() { return content_; } public static final int FILENAME_FIELD_NUMBER = 2; - private Object fileName_; + private java.lang.Object fileName_; /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public boolean hasFileName() { + @java.lang.Deprecated public boolean hasFileName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public String getFileName() { - Object ref = fileName_; - if (ref instanceof String) { - return (String) ref; + @java.lang.Deprecated public java.lang.String getFileName() { + java.lang.Object ref = fileName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { fileName_ = s; } @@ -902,13 +889,13 @@ public com.google.protobuf.Parser getParserForType() { /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getFileNameBytes() { - Object ref = fileName_; - if (ref instanceof String) { + java.lang.Object ref = fileName_; + if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + (java.lang.String) ref); fileName_ = b; return b; } else { @@ -916,25 +903,9 @@ public com.google.protobuf.Parser getParserForType() { } } - public static final int DEPRECATED_FIELD_NUMBER = 3; - private boolean deprecated_; - /** - * optional bool deprecated = 3 [default = true]; - */ - public boolean hasDeprecated() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional bool deprecated = 3 [default = true]; - */ - public boolean getDeprecated() { - return deprecated_; - } - private void initFields() { - content_ = Content_v2Protos.Content_v2.getDefaultInstance(); + content_ = Diadoc.Api.Proto.Content_v2Protos.Content_v2.getDefaultInstance(); fileName_ = ""; - deprecated_ = true; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -961,9 +932,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getFileNameBytes()); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, deprecated_); - } getUnknownFields().writeTo(output); } @@ -981,69 +949,65 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getFileNameBytes()); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, deprecated_); - } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; - @Override - protected Object writeReplace() + @java.lang.Override + protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - public static CloudSignFile parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static CloudSignFile parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static CloudSignFile parseFrom(byte[] data) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static CloudSignFile parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static CloudSignFile parseFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static CloudSignFile parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static CloudSignFile parseDelimitedFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static CloudSignFile parseDelimitedFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static CloudSignFile parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static CloudSignFile parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1052,14 +1016,14 @@ public static CloudSignFile parseFrom( public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(CloudSignFile prototype) { + public static Builder newBuilder(Diadoc.Api.Proto.CloudSignProtos.CloudSignFile prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - @Override + @java.lang.Override protected Builder newBuilderForType( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1069,17 +1033,17 @@ protected Builder newBuilderForType( public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Diadoc.Api.Proto.CloudSignFile) - CloudSignFileOrBuilder { + Diadoc.Api.Proto.CloudSignProtos.CloudSignFileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_fieldAccessorTable .ensureFieldAccessorsInitialized( - CloudSignFile.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.class, Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.Builder.class); } // Construct using Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.newBuilder() @@ -1088,7 +1052,7 @@ private Builder() { } private Builder( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -1104,15 +1068,13 @@ private static Builder create() { public Builder clear() { super.clear(); if (contentBuilder_ == null) { - content_ = Content_v2Protos.Content_v2.getDefaultInstance(); + content_ = Diadoc.Api.Proto.Content_v2Protos.Content_v2.getDefaultInstance(); } else { contentBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); fileName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); - deprecated_ = true; - bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -1122,23 +1084,23 @@ public Builder clone() { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignFile_descriptor; } - public CloudSignFile getDefaultInstanceForType() { - return CloudSignFile.getDefaultInstance(); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignFile getDefaultInstanceForType() { + return Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.getDefaultInstance(); } - public CloudSignFile build() { - CloudSignFile result = buildPartial(); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignFile build() { + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public CloudSignFile buildPartial() { - CloudSignFile result = new CloudSignFile(this); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignFile buildPartial() { + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile result = new Diadoc.Api.Proto.CloudSignProtos.CloudSignFile(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -1153,26 +1115,22 @@ public CloudSignFile buildPartial() { to_bitField0_ |= 0x00000002; } result.fileName_ = fileName_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.deprecated_ = deprecated_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof CloudSignFile) { - return mergeFrom((CloudSignFile)other); + if (other instanceof Diadoc.Api.Proto.CloudSignProtos.CloudSignFile) { + return mergeFrom((Diadoc.Api.Proto.CloudSignProtos.CloudSignFile)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(CloudSignFile other) { - if (other == CloudSignFile.getDefaultInstance()) return this; + public Builder mergeFrom(Diadoc.Api.Proto.CloudSignProtos.CloudSignFile other) { + if (other == Diadoc.Api.Proto.CloudSignProtos.CloudSignFile.getDefaultInstance()) return this; if (other.hasContent()) { mergeContent(other.getContent()); } @@ -1181,9 +1139,6 @@ public Builder mergeFrom(CloudSignFile other) { fileName_ = other.fileName_; onChanged(); } - if (other.hasDeprecated()) { - setDeprecated(other.getDeprecated()); - } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -1202,11 +1157,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - CloudSignFile parsedMessage = null; + Diadoc.Api.Proto.CloudSignProtos.CloudSignFile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (CloudSignFile) e.getUnfinishedMessage(); + parsedMessage = (Diadoc.Api.Proto.CloudSignProtos.CloudSignFile) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -1217,19 +1172,19 @@ public Builder mergeFrom( } private int bitField0_; - private Content_v2Protos.Content_v2 content_ = Content_v2Protos.Content_v2.getDefaultInstance(); + private Diadoc.Api.Proto.Content_v2Protos.Content_v2 content_ = Diadoc.Api.Proto.Content_v2Protos.Content_v2.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< - Content_v2Protos.Content_v2, Content_v2Protos.Content_v2.Builder, Content_v2Protos.Content_v2OrBuilder> contentBuilder_; + Diadoc.Api.Proto.Content_v2Protos.Content_v2, Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder, Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder> contentBuilder_; /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public boolean hasContent() { + @java.lang.Deprecated public boolean hasContent() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2 getContent() { + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2 getContent() { if (contentBuilder_ == null) { return content_; } else { @@ -1239,7 +1194,7 @@ public Builder mergeFrom( /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Builder setContent(Content_v2Protos.Content_v2 value) { + @java.lang.Deprecated public Builder setContent(Diadoc.Api.Proto.Content_v2Protos.Content_v2 value) { if (contentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1255,8 +1210,8 @@ public Builder mergeFrom( /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Builder setContent( - Content_v2Protos.Content_v2.Builder builderForValue) { + @java.lang.Deprecated public Builder setContent( + Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder builderForValue) { if (contentBuilder_ == null) { content_ = builderForValue.build(); onChanged(); @@ -1269,12 +1224,12 @@ public Builder mergeFrom( /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Builder mergeContent(Content_v2Protos.Content_v2 value) { + @java.lang.Deprecated public Builder mergeContent(Diadoc.Api.Proto.Content_v2Protos.Content_v2 value) { if (contentBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && - content_ != Content_v2Protos.Content_v2.getDefaultInstance()) { + content_ != Diadoc.Api.Proto.Content_v2Protos.Content_v2.getDefaultInstance()) { content_ = - Content_v2Protos.Content_v2.newBuilder(content_).mergeFrom(value).buildPartial(); + Diadoc.Api.Proto.Content_v2Protos.Content_v2.newBuilder(content_).mergeFrom(value).buildPartial(); } else { content_ = value; } @@ -1288,9 +1243,9 @@ public Builder mergeFrom( /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Builder clearContent() { + @java.lang.Deprecated public Builder clearContent() { if (contentBuilder_ == null) { - content_ = Content_v2Protos.Content_v2.getDefaultInstance(); + content_ = Diadoc.Api.Proto.Content_v2Protos.Content_v2.getDefaultInstance(); onChanged(); } else { contentBuilder_.clear(); @@ -1301,7 +1256,7 @@ public Builder mergeFrom( /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2.Builder getContentBuilder() { + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder getContentBuilder() { bitField0_ |= 0x00000001; onChanged(); return getContentFieldBuilder().getBuilder(); @@ -1309,7 +1264,7 @@ public Builder mergeFrom( /** * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2OrBuilder getContentOrBuilder() { + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder getContentOrBuilder() { if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilder(); } else { @@ -1320,11 +1275,11 @@ public Builder mergeFrom( * optional .Diadoc.Api.Proto.Content_v2 Content = 1 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilder< - Content_v2Protos.Content_v2, Content_v2Protos.Content_v2.Builder, Content_v2Protos.Content_v2OrBuilder> + Diadoc.Api.Proto.Content_v2Protos.Content_v2, Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder, Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { contentBuilder_ = new com.google.protobuf.SingleFieldBuilder< - Content_v2Protos.Content_v2, Content_v2Protos.Content_v2.Builder, Content_v2Protos.Content_v2OrBuilder>( + Diadoc.Api.Proto.Content_v2Protos.Content_v2, Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder, Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder>( getContent(), getParentForChildren(), isClean()); @@ -1333,40 +1288,40 @@ public Builder mergeFrom( return contentBuilder_; } - private Object fileName_ = ""; + private java.lang.Object fileName_ = ""; /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public boolean hasFileName() { + @java.lang.Deprecated public boolean hasFileName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public String getFileName() { - Object ref = fileName_; - if (!(ref instanceof String)) { + @java.lang.Deprecated public java.lang.String getFileName() { + java.lang.Object ref = fileName_; + if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { fileName_ = s; } return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getFileNameBytes() { - Object ref = fileName_; + java.lang.Object ref = fileName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + (java.lang.String) ref); fileName_ = b; return b; } else { @@ -1376,8 +1331,8 @@ public Builder mergeFrom( /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public Builder setFileName( - String value) { + @java.lang.Deprecated public Builder setFileName( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -1389,7 +1344,7 @@ public Builder mergeFrom( /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public Builder clearFileName() { + @java.lang.Deprecated public Builder clearFileName() { bitField0_ = (bitField0_ & ~0x00000002); fileName_ = getDefaultInstance().getFileName(); onChanged(); @@ -1398,7 +1353,7 @@ public Builder mergeFrom( /** * optional string FileName = 2 [deprecated = true]; */ - @Deprecated public Builder setFileNameBytes( + @java.lang.Deprecated public Builder setFileNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -1409,38 +1364,6 @@ public Builder mergeFrom( return this; } - private boolean deprecated_ = true; - /** - * optional bool deprecated = 3 [default = true]; - */ - public boolean hasDeprecated() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional bool deprecated = 3 [default = true]; - */ - public boolean getDeprecated() { - return deprecated_; - } - /** - * optional bool deprecated = 3 [default = true]; - */ - public Builder setDeprecated(boolean value) { - bitField0_ |= 0x00000004; - deprecated_ = value; - onChanged(); - return this; - } - /** - * optional bool deprecated = 3 [default = true]; - */ - public Builder clearDeprecated() { - bitField0_ = (bitField0_ & ~0x00000004); - deprecated_ = true; - onChanged(); - return this; - } - // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.CloudSignFile) } @@ -1459,20 +1382,21 @@ public interface CloudSignResultOrBuilder extends /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated boolean hasToken(); + @java.lang.Deprecated boolean hasToken(); /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated String getToken(); + @java.lang.Deprecated java.lang.String getToken(); /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated com.google.protobuf.ByteString + @java.lang.Deprecated com.google.protobuf.ByteString getTokenBytes(); } /** * Protobuf type {@code Diadoc.Api.Proto.CloudSignResult} */ + @java.lang.Deprecated public static final class CloudSignResult extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.CloudSignResult) @@ -1494,7 +1418,7 @@ public CloudSignResult getDefaultInstanceForType() { } private final com.google.protobuf.UnknownFieldSet unknownFields; - @Override + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -1542,14 +1466,14 @@ private CloudSignResult( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - CloudSignResult.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.CloudSignResult.class, Diadoc.Api.Proto.CloudSignProtos.CloudSignResult.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -1562,31 +1486,31 @@ public CloudSignResult parsePartialFrom( } }; - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int TOKEN_FIELD_NUMBER = 1; - private Object token_; + private java.lang.Object token_; /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public boolean hasToken() { + @java.lang.Deprecated public boolean hasToken() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public String getToken() { - Object ref = token_; - if (ref instanceof String) { - return (String) ref; + @java.lang.Deprecated public java.lang.String getToken() { + java.lang.Object ref = token_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { token_ = s; } @@ -1596,13 +1520,13 @@ public com.google.protobuf.Parser getParserForType() { /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getTokenBytes() { - Object ref = token_; - if (ref instanceof String) { + java.lang.Object ref = token_; + if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + (java.lang.String) ref); token_ = b; return b; } else { @@ -1648,59 +1572,59 @@ public int getSerializedSize() { } private static final long serialVersionUID = 0L; - @Override - protected Object writeReplace() + @java.lang.Override + protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - public static CloudSignResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static CloudSignResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static CloudSignResult parseFrom(byte[] data) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static CloudSignResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static CloudSignResult parseFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static CloudSignResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static CloudSignResult parseDelimitedFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static CloudSignResult parseDelimitedFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static CloudSignResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static CloudSignResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1709,14 +1633,14 @@ public static CloudSignResult parseFrom( public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(CloudSignResult prototype) { + public static Builder newBuilder(Diadoc.Api.Proto.CloudSignProtos.CloudSignResult prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - @Override + @java.lang.Override protected Builder newBuilderForType( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1726,17 +1650,17 @@ protected Builder newBuilderForType( public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Diadoc.Api.Proto.CloudSignResult) - CloudSignResultOrBuilder { + Diadoc.Api.Proto.CloudSignProtos.CloudSignResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - CloudSignResult.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.CloudSignResult.class, Diadoc.Api.Proto.CloudSignProtos.CloudSignResult.Builder.class); } // Construct using Diadoc.Api.Proto.CloudSignProtos.CloudSignResult.newBuilder() @@ -1745,7 +1669,7 @@ private Builder() { } private Builder( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -1770,23 +1694,23 @@ public Builder clone() { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignResult_descriptor; } - public CloudSignResult getDefaultInstanceForType() { - return CloudSignResult.getDefaultInstance(); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignResult getDefaultInstanceForType() { + return Diadoc.Api.Proto.CloudSignProtos.CloudSignResult.getDefaultInstance(); } - public CloudSignResult build() { - CloudSignResult result = buildPartial(); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignResult build() { + Diadoc.Api.Proto.CloudSignProtos.CloudSignResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public CloudSignResult buildPartial() { - CloudSignResult result = new CloudSignResult(this); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignResult buildPartial() { + Diadoc.Api.Proto.CloudSignProtos.CloudSignResult result = new Diadoc.Api.Proto.CloudSignProtos.CloudSignResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -1799,16 +1723,16 @@ public CloudSignResult buildPartial() { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof CloudSignResult) { - return mergeFrom((CloudSignResult)other); + if (other instanceof Diadoc.Api.Proto.CloudSignProtos.CloudSignResult) { + return mergeFrom((Diadoc.Api.Proto.CloudSignProtos.CloudSignResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(CloudSignResult other) { - if (other == CloudSignResult.getDefaultInstance()) return this; + public Builder mergeFrom(Diadoc.Api.Proto.CloudSignProtos.CloudSignResult other) { + if (other == Diadoc.Api.Proto.CloudSignProtos.CloudSignResult.getDefaultInstance()) return this; if (other.hasToken()) { bitField0_ |= 0x00000001; token_ = other.token_; @@ -1826,11 +1750,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - CloudSignResult parsedMessage = null; + Diadoc.Api.Proto.CloudSignProtos.CloudSignResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (CloudSignResult) e.getUnfinishedMessage(); + parsedMessage = (Diadoc.Api.Proto.CloudSignProtos.CloudSignResult) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -1841,40 +1765,40 @@ public Builder mergeFrom( } private int bitField0_; - private Object token_ = ""; + private java.lang.Object token_ = ""; /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public boolean hasToken() { + @java.lang.Deprecated public boolean hasToken() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public String getToken() { - Object ref = token_; - if (!(ref instanceof String)) { + @java.lang.Deprecated public java.lang.String getToken() { + java.lang.Object ref = token_; + if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { token_ = s; } return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getTokenBytes() { - Object ref = token_; + java.lang.Object ref = token_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + (java.lang.String) ref); token_ = b; return b; } else { @@ -1884,8 +1808,8 @@ public Builder mergeFrom( /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public Builder setToken( - String value) { + @java.lang.Deprecated public Builder setToken( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -1897,7 +1821,7 @@ public Builder mergeFrom( /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public Builder clearToken() { + @java.lang.Deprecated public Builder clearToken() { bitField0_ = (bitField0_ & ~0x00000001); token_ = getDefaultInstance().getToken(); onChanged(); @@ -1906,7 +1830,7 @@ public Builder mergeFrom( /** * optional string Token = 1 [deprecated = true]; */ - @Deprecated public Builder setTokenBytes( + @java.lang.Deprecated public Builder setTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -1935,30 +1859,31 @@ public interface CloudSignConfirmResultOrBuilder extends /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated java.util.List + @java.lang.Deprecated java.util.List getSignaturesList(); /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated Content_v2Protos.Content_v2 getSignatures(int index); + @java.lang.Deprecated Diadoc.Api.Proto.Content_v2Protos.Content_v2 getSignatures(int index); /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated int getSignaturesCount(); + @java.lang.Deprecated int getSignaturesCount(); /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated java.util.List + @java.lang.Deprecated java.util.List getSignaturesOrBuilderList(); /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated Content_v2Protos.Content_v2OrBuilder getSignaturesOrBuilder( + @java.lang.Deprecated Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder getSignaturesOrBuilder( int index); } /** * Protobuf type {@code Diadoc.Api.Proto.CloudSignConfirmResult} */ + @java.lang.Deprecated public static final class CloudSignConfirmResult extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.CloudSignConfirmResult) @@ -1980,7 +1905,7 @@ public CloudSignConfirmResult getDefaultInstanceForType() { } private final com.google.protobuf.UnknownFieldSet unknownFields; - @Override + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -2010,10 +1935,10 @@ private CloudSignConfirmResult( } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - signatures_ = new java.util.ArrayList(); + signatures_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - signatures_.add(input.readMessage(Content_v2Protos.Content_v2.PARSER, extensionRegistry)); + signatures_.add(input.readMessage(Diadoc.Api.Proto.Content_v2Protos.Content_v2.PARSER, extensionRegistry)); break; } } @@ -2033,14 +1958,14 @@ private CloudSignConfirmResult( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - CloudSignConfirmResult.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult.class, Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -2053,42 +1978,42 @@ public CloudSignConfirmResult parsePartialFrom( } }; - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int SIGNATURES_FIELD_NUMBER = 1; - private java.util.List signatures_; + private java.util.List signatures_; /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public java.util.List getSignaturesList() { + @java.lang.Deprecated public java.util.List getSignaturesList() { return signatures_; } /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public java.util.List + @java.lang.Deprecated public java.util.List getSignaturesOrBuilderList() { return signatures_; } /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public int getSignaturesCount() { + @java.lang.Deprecated public int getSignaturesCount() { return signatures_.size(); } /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2 getSignatures(int index) { + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2 getSignatures(int index) { return signatures_.get(index); } /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2OrBuilder getSignaturesOrBuilder( + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder getSignaturesOrBuilder( int index) { return signatures_.get(index); } @@ -2137,59 +2062,59 @@ public int getSerializedSize() { } private static final long serialVersionUID = 0L; - @Override - protected Object writeReplace() + @java.lang.Override + protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - public static CloudSignConfirmResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static CloudSignConfirmResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static CloudSignConfirmResult parseFrom(byte[] data) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static CloudSignConfirmResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static CloudSignConfirmResult parseFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static CloudSignConfirmResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static CloudSignConfirmResult parseDelimitedFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static CloudSignConfirmResult parseDelimitedFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static CloudSignConfirmResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static CloudSignConfirmResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2198,14 +2123,14 @@ public static CloudSignConfirmResult parseFrom( public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(CloudSignConfirmResult prototype) { + public static Builder newBuilder(Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - @Override + @java.lang.Override protected Builder newBuilderForType( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2215,17 +2140,17 @@ protected Builder newBuilderForType( public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Diadoc.Api.Proto.CloudSignConfirmResult) - CloudSignConfirmResultOrBuilder { + Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - CloudSignConfirmResult.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult.class, Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult.Builder.class); } // Construct using Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult.newBuilder() @@ -2234,7 +2159,7 @@ private Builder() { } private Builder( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -2264,23 +2189,23 @@ public Builder clone() { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_descriptor; } - public CloudSignConfirmResult getDefaultInstanceForType() { - return CloudSignConfirmResult.getDefaultInstance(); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult getDefaultInstanceForType() { + return Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult.getDefaultInstance(); } - public CloudSignConfirmResult build() { - CloudSignConfirmResult result = buildPartial(); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult build() { + Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public CloudSignConfirmResult buildPartial() { - CloudSignConfirmResult result = new CloudSignConfirmResult(this); + public Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult buildPartial() { + Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult result = new Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult(this); int from_bitField0_ = bitField0_; if (signaturesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -2296,16 +2221,16 @@ public CloudSignConfirmResult buildPartial() { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof CloudSignConfirmResult) { - return mergeFrom((CloudSignConfirmResult)other); + if (other instanceof Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult) { + return mergeFrom((Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(CloudSignConfirmResult other) { - if (other == CloudSignConfirmResult.getDefaultInstance()) return this; + public Builder mergeFrom(Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult other) { + if (other == Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult.getDefaultInstance()) return this; if (signaturesBuilder_ == null) { if (!other.signatures_.isEmpty()) { if (signatures_.isEmpty()) { @@ -2350,11 +2275,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - CloudSignConfirmResult parsedMessage = null; + Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (CloudSignConfirmResult) e.getUnfinishedMessage(); + parsedMessage = (Diadoc.Api.Proto.CloudSignProtos.CloudSignConfirmResult) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -2365,22 +2290,22 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List signatures_ = + private java.util.List signatures_ = java.util.Collections.emptyList(); private void ensureSignaturesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - signatures_ = new java.util.ArrayList(signatures_); + signatures_ = new java.util.ArrayList(signatures_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< - Content_v2Protos.Content_v2, Content_v2Protos.Content_v2.Builder, Content_v2Protos.Content_v2OrBuilder> signaturesBuilder_; + Diadoc.Api.Proto.Content_v2Protos.Content_v2, Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder, Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder> signaturesBuilder_; /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public java.util.List getSignaturesList() { + @java.lang.Deprecated public java.util.List getSignaturesList() { if (signaturesBuilder_ == null) { return java.util.Collections.unmodifiableList(signatures_); } else { @@ -2390,7 +2315,7 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public int getSignaturesCount() { + @java.lang.Deprecated public int getSignaturesCount() { if (signaturesBuilder_ == null) { return signatures_.size(); } else { @@ -2400,7 +2325,7 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2 getSignatures(int index) { + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2 getSignatures(int index) { if (signaturesBuilder_ == null) { return signatures_.get(index); } else { @@ -2410,8 +2335,8 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder setSignatures( - int index, Content_v2Protos.Content_v2 value) { + @java.lang.Deprecated public Builder setSignatures( + int index, Diadoc.Api.Proto.Content_v2Protos.Content_v2 value) { if (signaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2427,8 +2352,8 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder setSignatures( - int index, Content_v2Protos.Content_v2.Builder builderForValue) { + @java.lang.Deprecated public Builder setSignatures( + int index, Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder builderForValue) { if (signaturesBuilder_ == null) { ensureSignaturesIsMutable(); signatures_.set(index, builderForValue.build()); @@ -2441,7 +2366,7 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder addSignatures(Content_v2Protos.Content_v2 value) { + @java.lang.Deprecated public Builder addSignatures(Diadoc.Api.Proto.Content_v2Protos.Content_v2 value) { if (signaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2457,8 +2382,8 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder addSignatures( - int index, Content_v2Protos.Content_v2 value) { + @java.lang.Deprecated public Builder addSignatures( + int index, Diadoc.Api.Proto.Content_v2Protos.Content_v2 value) { if (signaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2474,8 +2399,8 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder addSignatures( - Content_v2Protos.Content_v2.Builder builderForValue) { + @java.lang.Deprecated public Builder addSignatures( + Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder builderForValue) { if (signaturesBuilder_ == null) { ensureSignaturesIsMutable(); signatures_.add(builderForValue.build()); @@ -2488,8 +2413,8 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder addSignatures( - int index, Content_v2Protos.Content_v2.Builder builderForValue) { + @java.lang.Deprecated public Builder addSignatures( + int index, Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder builderForValue) { if (signaturesBuilder_ == null) { ensureSignaturesIsMutable(); signatures_.add(index, builderForValue.build()); @@ -2502,8 +2427,8 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder addAllSignatures( - Iterable values) { + @java.lang.Deprecated public Builder addAllSignatures( + java.lang.Iterable values) { if (signaturesBuilder_ == null) { ensureSignaturesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -2517,7 +2442,7 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder clearSignatures() { + @java.lang.Deprecated public Builder clearSignatures() { if (signaturesBuilder_ == null) { signatures_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); @@ -2530,7 +2455,7 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Builder removeSignatures(int index) { + @java.lang.Deprecated public Builder removeSignatures(int index) { if (signaturesBuilder_ == null) { ensureSignaturesIsMutable(); signatures_.remove(index); @@ -2543,14 +2468,14 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2.Builder getSignaturesBuilder( + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder getSignaturesBuilder( int index) { return getSignaturesFieldBuilder().getBuilder(index); } /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2OrBuilder getSignaturesOrBuilder( + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder getSignaturesOrBuilder( int index) { if (signaturesBuilder_ == null) { return signatures_.get(index); } else { @@ -2560,7 +2485,7 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public java.util.List + @java.lang.Deprecated public java.util.List getSignaturesOrBuilderList() { if (signaturesBuilder_ != null) { return signaturesBuilder_.getMessageOrBuilderList(); @@ -2571,31 +2496,31 @@ private void ensureSignaturesIsMutable() { /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2.Builder addSignaturesBuilder() { + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder addSignaturesBuilder() { return getSignaturesFieldBuilder().addBuilder( - Content_v2Protos.Content_v2.getDefaultInstance()); + Diadoc.Api.Proto.Content_v2Protos.Content_v2.getDefaultInstance()); } /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public Content_v2Protos.Content_v2.Builder addSignaturesBuilder( + @java.lang.Deprecated public Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder addSignaturesBuilder( int index) { return getSignaturesFieldBuilder().addBuilder( - index, Content_v2Protos.Content_v2.getDefaultInstance()); + index, Diadoc.Api.Proto.Content_v2Protos.Content_v2.getDefaultInstance()); } /** * repeated .Diadoc.Api.Proto.Content_v2 Signatures = 1 [deprecated = true]; */ - @Deprecated public java.util.List + @java.lang.Deprecated public java.util.List getSignaturesBuilderList() { return getSignaturesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< - Content_v2Protos.Content_v2, Content_v2Protos.Content_v2.Builder, Content_v2Protos.Content_v2OrBuilder> + Diadoc.Api.Proto.Content_v2Protos.Content_v2, Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder, Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder> getSignaturesFieldBuilder() { if (signaturesBuilder_ == null) { signaturesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - Content_v2Protos.Content_v2, Content_v2Protos.Content_v2.Builder, Content_v2Protos.Content_v2OrBuilder>( + Diadoc.Api.Proto.Content_v2Protos.Content_v2, Diadoc.Api.Proto.Content_v2Protos.Content_v2.Builder, Diadoc.Api.Proto.Content_v2Protos.Content_v2OrBuilder>( signatures_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), @@ -2621,26 +2546,26 @@ public interface AutosignReceiptsResultOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * required int64 SignedReceiptsCount = 1 [deprecated = true]; + * required int64 SignedReceiptsCount = 1; */ - @Deprecated boolean hasSignedReceiptsCount(); + boolean hasSignedReceiptsCount(); /** - * required int64 SignedReceiptsCount = 1 [deprecated = true]; + * required int64 SignedReceiptsCount = 1; */ - @Deprecated long getSignedReceiptsCount(); + long getSignedReceiptsCount(); /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated boolean hasNextBatchKey(); + boolean hasNextBatchKey(); /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated String getNextBatchKey(); + java.lang.String getNextBatchKey(); /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated com.google.protobuf.ByteString + com.google.protobuf.ByteString getNextBatchKeyBytes(); } /** @@ -2667,7 +2592,7 @@ public AutosignReceiptsResult getDefaultInstanceForType() { } private final com.google.protobuf.UnknownFieldSet unknownFields; - @Override + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -2720,14 +2645,14 @@ private AutosignReceiptsResult( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - AutosignReceiptsResult.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult.class, Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -2740,7 +2665,7 @@ public AutosignReceiptsResult parsePartialFrom( } }; - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @@ -2749,37 +2674,37 @@ public com.google.protobuf.Parser getParserForType() { public static final int SIGNEDRECEIPTSCOUNT_FIELD_NUMBER = 1; private long signedReceiptsCount_; /** - * required int64 SignedReceiptsCount = 1 [deprecated = true]; + * required int64 SignedReceiptsCount = 1; */ - @Deprecated public boolean hasSignedReceiptsCount() { + public boolean hasSignedReceiptsCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required int64 SignedReceiptsCount = 1 [deprecated = true]; + * required int64 SignedReceiptsCount = 1; */ - @Deprecated public long getSignedReceiptsCount() { + public long getSignedReceiptsCount() { return signedReceiptsCount_; } public static final int NEXTBATCHKEY_FIELD_NUMBER = 2; - private Object nextBatchKey_; + private java.lang.Object nextBatchKey_; /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public boolean hasNextBatchKey() { + public boolean hasNextBatchKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public String getNextBatchKey() { - Object ref = nextBatchKey_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getNextBatchKey() { + java.lang.Object ref = nextBatchKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { nextBatchKey_ = s; } @@ -2787,15 +2712,15 @@ public com.google.protobuf.Parser getParserForType() { } } /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public com.google.protobuf.ByteString + public com.google.protobuf.ByteString getNextBatchKeyBytes() { - Object ref = nextBatchKey_; - if (ref instanceof String) { + java.lang.Object ref = nextBatchKey_; + if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + (java.lang.String) ref); nextBatchKey_ = b; return b; } else { @@ -2857,59 +2782,59 @@ public int getSerializedSize() { } private static final long serialVersionUID = 0L; - @Override - protected Object writeReplace() + @java.lang.Override + protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - public static AutosignReceiptsResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static AutosignReceiptsResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static AutosignReceiptsResult parseFrom(byte[] data) + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static AutosignReceiptsResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static AutosignReceiptsResult parseFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static AutosignReceiptsResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static AutosignReceiptsResult parseDelimitedFrom(java.io.InputStream input) + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static AutosignReceiptsResult parseDelimitedFrom( + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static AutosignReceiptsResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static AutosignReceiptsResult parseFrom( + public static Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2918,14 +2843,14 @@ public static AutosignReceiptsResult parseFrom( public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(AutosignReceiptsResult prototype) { + public static Builder newBuilder(Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - @Override + @java.lang.Override protected Builder newBuilderForType( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2935,17 +2860,17 @@ protected Builder newBuilderForType( public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Diadoc.Api.Proto.AutosignReceiptsResult) - AutosignReceiptsResultOrBuilder { + Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_descriptor; } - protected FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_fieldAccessorTable + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - AutosignReceiptsResult.class, Builder.class); + Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult.class, Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult.Builder.class); } // Construct using Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult.newBuilder() @@ -2954,7 +2879,7 @@ private Builder() { } private Builder( - BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -2981,23 +2906,23 @@ public Builder clone() { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_descriptor; + return Diadoc.Api.Proto.CloudSignProtos.internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_descriptor; } - public AutosignReceiptsResult getDefaultInstanceForType() { - return AutosignReceiptsResult.getDefaultInstance(); + public Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult getDefaultInstanceForType() { + return Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult.getDefaultInstance(); } - public AutosignReceiptsResult build() { - AutosignReceiptsResult result = buildPartial(); + public Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult build() { + Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public AutosignReceiptsResult buildPartial() { - AutosignReceiptsResult result = new AutosignReceiptsResult(this); + public Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult buildPartial() { + Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult result = new Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -3014,16 +2939,16 @@ public AutosignReceiptsResult buildPartial() { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof AutosignReceiptsResult) { - return mergeFrom((AutosignReceiptsResult)other); + if (other instanceof Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult) { + return mergeFrom((Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(AutosignReceiptsResult other) { - if (other == AutosignReceiptsResult.getDefaultInstance()) return this; + public Builder mergeFrom(Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult other) { + if (other == Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult.getDefaultInstance()) return this; if (other.hasSignedReceiptsCount()) { setSignedReceiptsCount(other.getSignedReceiptsCount()); } @@ -3052,11 +2977,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - AutosignReceiptsResult parsedMessage = null; + Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (AutosignReceiptsResult) e.getUnfinishedMessage(); + parsedMessage = (Diadoc.Api.Proto.CloudSignProtos.AutosignReceiptsResult) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -3069,70 +2994,70 @@ public Builder mergeFrom( private long signedReceiptsCount_ ; /** - * required int64 SignedReceiptsCount = 1 [deprecated = true]; + * required int64 SignedReceiptsCount = 1; */ - @Deprecated public boolean hasSignedReceiptsCount() { + public boolean hasSignedReceiptsCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required int64 SignedReceiptsCount = 1 [deprecated = true]; + * required int64 SignedReceiptsCount = 1; */ - @Deprecated public long getSignedReceiptsCount() { + public long getSignedReceiptsCount() { return signedReceiptsCount_; } /** - * required int64 SignedReceiptsCount = 1 [deprecated = true]; + * required int64 SignedReceiptsCount = 1; */ - @Deprecated public Builder setSignedReceiptsCount(long value) { + public Builder setSignedReceiptsCount(long value) { bitField0_ |= 0x00000001; signedReceiptsCount_ = value; onChanged(); return this; } /** - * required int64 SignedReceiptsCount = 1 [deprecated = true]; + * required int64 SignedReceiptsCount = 1; */ - @Deprecated public Builder clearSignedReceiptsCount() { + public Builder clearSignedReceiptsCount() { bitField0_ = (bitField0_ & ~0x00000001); signedReceiptsCount_ = 0L; onChanged(); return this; } - private Object nextBatchKey_ = ""; + private java.lang.Object nextBatchKey_ = ""; /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public boolean hasNextBatchKey() { + public boolean hasNextBatchKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public String getNextBatchKey() { - Object ref = nextBatchKey_; - if (!(ref instanceof String)) { + public java.lang.String getNextBatchKey() { + java.lang.Object ref = nextBatchKey_; + if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { nextBatchKey_ = s; } return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public com.google.protobuf.ByteString + public com.google.protobuf.ByteString getNextBatchKeyBytes() { - Object ref = nextBatchKey_; + java.lang.Object ref = nextBatchKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + (java.lang.String) ref); nextBatchKey_ = b; return b; } else { @@ -3140,10 +3065,10 @@ public Builder mergeFrom( } } /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public Builder setNextBatchKey( - String value) { + public Builder setNextBatchKey( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -3153,18 +3078,18 @@ public Builder mergeFrom( return this; } /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public Builder clearNextBatchKey() { + public Builder clearNextBatchKey() { bitField0_ = (bitField0_ & ~0x00000002); nextBatchKey_ = getDefaultInstance().getNextBatchKey(); onChanged(); return this; } /** - * required string NextBatchKey = 2 [deprecated = true]; + * required string NextBatchKey = 2; */ - @Deprecated public Builder setNextBatchKeyBytes( + public Builder setNextBatchKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -3219,19 +3144,18 @@ public Builder mergeFrom( private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { - String[] descriptorData = { + java.lang.String[] descriptorData = { "\n\017CloudSign.proto\022\020Diadoc.Api.Proto\032\020Con" + - "tent_v2.proto\"J\n\020CloudSignRequest\0222\n\005Fil" + + "tent_v2.proto\"F\n\020CloudSignRequest\0222\n\005Fil" + "es\030\001 \003(\0132\037.Diadoc.Api.Proto.CloudSignFil" + - "eB\002\030\001:\002\030\001\"r\n\rCloudSignFile\0221\n\007Content\030\001 " + - "\001(\0132\034.Diadoc.Api.Proto.Content_v2B\002\030\001\022\024\n" + - "\010FileName\030\002 \001(\tB\002\030\001\022\030\n\ndeprecated\030\003 \001(\010:" + - "\004true\"(\n\017CloudSignResult\022\021\n\005Token\030\001 \001(\tB" + - "\002\030\001:\002\030\001\"R\n\026CloudSignConfirmResult\0224\n\nSig" + - "natures\030\001 \003(\0132\034.Diadoc.Api.Proto.Content" + - "_v2B\002\030\001:\002\030\001\"W\n\026AutosignReceiptsResult\022\037\n", - "\023SignedReceiptsCount\030\001 \002(\003B\002\030\001\022\030\n\014NextBa" + - "tchKey\030\002 \002(\tB\002\030\001:\002\030\001B\021B\017CloudSignProtos" + "eB\002\030\001\"X\n\rCloudSignFile\0221\n\007Content\030\001 \001(\0132" + + "\034.Diadoc.Api.Proto.Content_v2B\002\030\001\022\024\n\010Fil" + + "eName\030\002 \001(\tB\002\030\001\"$\n\017CloudSignResult\022\021\n\005To" + + "ken\030\001 \001(\tB\002\030\001\"N\n\026CloudSignConfirmResult\022" + + "4\n\nSignatures\030\001 \003(\0132\034.Diadoc.Api.Proto.C" + + "ontent_v2B\002\030\001\"K\n\026AutosignReceiptsResult\022" + + "\033\n\023SignedReceiptsCount\030\001 \002(\003\022\024\n\014NextBatc", + "hKey\030\002 \002(\tB\021B\017CloudSignProtos" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -3244,39 +3168,39 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - Content_v2Protos.getDescriptor(), + Diadoc.Api.Proto.Content_v2Protos.getDescriptor(), }, assigner); internal_static_Diadoc_Api_Proto_CloudSignRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Diadoc_Api_Proto_CloudSignRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_CloudSignRequest_descriptor, - new String[] { "Files", }); + new java.lang.String[] { "Files", }); internal_static_Diadoc_Api_Proto_CloudSignFile_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Diadoc_Api_Proto_CloudSignFile_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_CloudSignFile_descriptor, - new String[] { "Content", "FileName", "Deprecated", }); + new java.lang.String[] { "Content", "FileName", }); internal_static_Diadoc_Api_Proto_CloudSignResult_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Diadoc_Api_Proto_CloudSignResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_CloudSignResult_descriptor, - new String[] { "Token", }); + new java.lang.String[] { "Token", }); internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_CloudSignConfirmResult_descriptor, - new String[] { "Signatures", }); + new java.lang.String[] { "Signatures", }); internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_AutosignReceiptsResult_descriptor, - new String[] { "SignedReceiptsCount", "NextBatchKey", }); - Content_v2Protos.getDescriptor(); + new java.lang.String[] { "SignedReceiptsCount", "NextBatchKey", }); + Diadoc.Api.Proto.Content_v2Protos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/Diadoc/Api/Proto/Events/DiadocMessage_PostApiProtos.java b/src/main/java/Diadoc/Api/Proto/Events/DiadocMessage_PostApiProtos.java index 4c11a1be..abff1fed 100644 --- a/src/main/java/Diadoc/Api/Proto/Events/DiadocMessage_PostApiProtos.java +++ b/src/main/java/Diadoc/Api/Proto/Events/DiadocMessage_PostApiProtos.java @@ -65,7 +65,7 @@ public CustomDataPatchOperation findValueByNumber(int number) { } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return DiadocMessage_PostApiProtos.getDescriptor().getEnumTypes().get(0); + return Diadoc.Api.Proto.Events.DiadocMessage_PostApiProtos.getDescriptor().getEnumTypes().get(0); } private static final CustomDataPatchOperation[] VALUES = values(); @@ -73,7 +73,7 @@ public CustomDataPatchOperation findValueByNumber(int number) { public static CustomDataPatchOperation valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new IllegalArgumentException( + throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; @@ -77921,6 +77921,15 @@ public interface DraftDocumentToPatchOrBuilder extends */ Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSignerOrBuilder getExtendedSignerOrBuilder( int index); + + /** + * optional bytes SignerContent = 5; + */ + boolean hasSignerContent(); + /** + * optional bytes SignerContent = 5; + */ + com.google.protobuf.ByteString getSignerContent(); } /** * Protobuf type {@code Diadoc.Api.Proto.Events.DraftDocumentToPatch} @@ -78014,6 +78023,11 @@ private DraftDocumentToPatch( extendedSigner_.add(input.readMessage(Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSigner.PARSER, extensionRegistry)); break; } + case 42: { + bitField0_ |= 0x00000008; + signerContent_ = input.readBytes(); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78176,11 +78190,27 @@ public Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSignerOrB return extendedSigner_.get(index); } + public static final int SIGNERCONTENT_FIELD_NUMBER = 5; + private com.google.protobuf.ByteString signerContent_; + /** + * optional bytes SignerContent = 5; + */ + public boolean hasSignerContent() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional bytes SignerContent = 5; + */ + public com.google.protobuf.ByteString getSignerContent() { + return signerContent_; + } + private void initFields() { documentId_ = Diadoc.Api.Proto.DocumentIdProtos.DocumentId.getDefaultInstance(); toBoxId_ = ""; signer_ = Diadoc.Api.Proto.Invoicing.SignerProtos.Signer.getDefaultInstance(); extendedSigner_ = java.util.Collections.emptyList(); + signerContent_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -78227,6 +78257,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < extendedSigner_.size(); i++) { output.writeMessage(4, extendedSigner_.get(i)); } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeBytes(5, signerContent_); + } getUnknownFields().writeTo(output); } @@ -78252,6 +78285,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, extendedSigner_.get(i)); } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, signerContent_); + } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; @@ -78392,6 +78429,8 @@ public Builder clear() { } else { extendedSignerBuilder_.clear(); } + signerContent_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); return this; } @@ -78449,6 +78488,10 @@ public Diadoc.Api.Proto.Events.DiadocMessage_PostApiProtos.DraftDocumentToPatch } else { result.extendedSigner_ = extendedSignerBuilder_.build(); } + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000008; + } + result.signerContent_ = signerContent_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -78502,6 +78545,9 @@ public Builder mergeFrom(Diadoc.Api.Proto.Events.DiadocMessage_PostApiProtos.Dra } } } + if (other.hasSignerContent()) { + setSignerContent(other.getSignerContent()); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -79097,6 +79143,41 @@ public Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSigner.Bu return extendedSignerBuilder_; } + private com.google.protobuf.ByteString signerContent_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes SignerContent = 5; + */ + public boolean hasSignerContent() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional bytes SignerContent = 5; + */ + public com.google.protobuf.ByteString getSignerContent() { + return signerContent_; + } + /** + * optional bytes SignerContent = 5; + */ + public Builder setSignerContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + signerContent_ = value; + onChanged(); + return this; + } + /** + * optional bytes SignerContent = 5; + */ + public Builder clearSignerContent() { + bitField0_ = (bitField0_ & ~0x00000010); + signerContent_ = getDefaultInstance().getSignerContent(); + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Events.DraftDocumentToPatch) } @@ -79217,6 +79298,15 @@ public interface ContentToPatchOrBuilder extends */ Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSignerOrBuilder getExtendedSignerOrBuilder( int index); + + /** + * optional bytes SignerContent = 8; + */ + boolean hasSignerContent(); + /** + * optional bytes SignerContent = 8; + */ + com.google.protobuf.ByteString getSignerContent(); } /** * Protobuf type {@code Diadoc.Api.Proto.Events.ContentToPatch} @@ -79328,6 +79418,11 @@ private ContentToPatch( extendedSigner_.add(input.readMessage(Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSigner.PARSER, extensionRegistry)); break; } + case 66: { + bitField0_ |= 0x00000040; + signerContent_ = input.readBytes(); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79616,6 +79711,21 @@ public Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSignerOrB return extendedSigner_.get(index); } + public static final int SIGNERCONTENT_FIELD_NUMBER = 8; + private com.google.protobuf.ByteString signerContent_; + /** + * optional bytes SignerContent = 8; + */ + public boolean hasSignerContent() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional bytes SignerContent = 8; + */ + public com.google.protobuf.ByteString getSignerContent() { + return signerContent_; + } + private void initFields() { typeNamedId_ = ""; function_ = ""; @@ -79624,6 +79734,7 @@ private void initFields() { toBoxId_ = ""; signer_ = Diadoc.Api.Proto.Invoicing.SignerProtos.Signer.getDefaultInstance(); extendedSigner_ = java.util.Collections.emptyList(); + signerContent_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -79687,6 +79798,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < extendedSigner_.size(); i++) { output.writeMessage(7, extendedSigner_.get(i)); } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeBytes(8, signerContent_); + } getUnknownFields().writeTo(output); } @@ -79724,6 +79838,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, extendedSigner_.get(i)); } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(8, signerContent_); + } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; @@ -79870,6 +79988,8 @@ public Builder clear() { } else { extendedSignerBuilder_.clear(); } + signerContent_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000080); return this; } @@ -79939,6 +80059,10 @@ public Diadoc.Api.Proto.Events.DiadocMessage_PostApiProtos.ContentToPatch buildP } else { result.extendedSigner_ = extendedSignerBuilder_.build(); } + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000040; + } + result.signerContent_ = signerContent_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -80007,6 +80131,9 @@ public Builder mergeFrom(Diadoc.Api.Proto.Events.DiadocMessage_PostApiProtos.Con } } } + if (other.hasSignerContent()) { + setSignerContent(other.getSignerContent()); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -80838,6 +80965,41 @@ public Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSigner.Bu return extendedSignerBuilder_; } + private com.google.protobuf.ByteString signerContent_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes SignerContent = 8; + */ + public boolean hasSignerContent() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional bytes SignerContent = 8; + */ + public com.google.protobuf.ByteString getSignerContent() { + return signerContent_; + } + /** + * optional bytes SignerContent = 8; + */ + public Builder setSignerContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + signerContent_ = value; + onChanged(); + return this; + } + /** + * optional bytes SignerContent = 8; + */ + public Builder clearSignerContent() { + bitField0_ = (bitField0_ & ~0x00000080); + signerContent_ = getDefaultInstance().getSignerContent(); + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Events.ContentToPatch) } @@ -80902,6 +81064,15 @@ public interface DocumentToPatchOrBuilder extends */ Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSignerOrBuilder getExtendedSignerOrBuilder( int index); + + /** + * optional bytes SignerContent = 4; + */ + boolean hasSignerContent(); + /** + * optional bytes SignerContent = 4; + */ + com.google.protobuf.ByteString getSignerContent(); } /** * Protobuf type {@code Diadoc.Api.Proto.Events.DocumentToPatch} @@ -80989,6 +81160,11 @@ private DocumentToPatch( extendedSigner_.add(input.readMessage(Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSigner.PARSER, extensionRegistry)); break; } + case 34: { + bitField0_ |= 0x00000004; + signerContent_ = input.readBytes(); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -81109,10 +81285,26 @@ public Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSignerOrB return extendedSigner_.get(index); } + public static final int SIGNERCONTENT_FIELD_NUMBER = 4; + private com.google.protobuf.ByteString signerContent_; + /** + * optional bytes SignerContent = 4; + */ + public boolean hasSignerContent() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bytes SignerContent = 4; + */ + public com.google.protobuf.ByteString getSignerContent() { + return signerContent_; + } + private void initFields() { documentId_ = Diadoc.Api.Proto.DocumentIdProtos.DocumentId.getDefaultInstance(); signer_ = Diadoc.Api.Proto.Invoicing.SignerProtos.Signer.getDefaultInstance(); extendedSigner_ = java.util.Collections.emptyList(); + signerContent_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -81156,6 +81348,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < extendedSigner_.size(); i++) { output.writeMessage(3, extendedSigner_.get(i)); } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(4, signerContent_); + } getUnknownFields().writeTo(output); } @@ -81177,6 +81372,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, extendedSigner_.get(i)); } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, signerContent_); + } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; @@ -81315,6 +81514,8 @@ public Builder clear() { } else { extendedSignerBuilder_.clear(); } + signerContent_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -81368,6 +81569,10 @@ public Diadoc.Api.Proto.Events.DiadocMessage_PostApiProtos.DocumentToPatch build } else { result.extendedSigner_ = extendedSignerBuilder_.build(); } + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000004; + } + result.signerContent_ = signerContent_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -81416,6 +81621,9 @@ public Builder mergeFrom(Diadoc.Api.Proto.Events.DiadocMessage_PostApiProtos.Doc } } } + if (other.hasSignerContent()) { + setSignerContent(other.getSignerContent()); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -81935,6 +82143,41 @@ public Diadoc.Api.Proto.Invoicing.Signers.ExtendedSignerProtos.ExtendedSigner.Bu return extendedSignerBuilder_; } + private com.google.protobuf.ByteString signerContent_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes SignerContent = 4; + */ + public boolean hasSignerContent() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional bytes SignerContent = 4; + */ + public com.google.protobuf.ByteString getSignerContent() { + return signerContent_; + } + /** + * optional bytes SignerContent = 4; + */ + public Builder setSignerContent(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + signerContent_ = value; + onChanged(); + return this; + } + /** + * optional bytes SignerContent = 4; + */ + public Builder clearSignerContent() { + bitField0_ = (bitField0_ & ~0x00000008); + signerContent_ = getDefaultInstance().getSignerContent(); + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Events.DocumentToPatch) } @@ -100510,93 +100753,95 @@ public Builder setCustomDocumentIdBytes( "umentToPatch\022;\n\tDocuments\030\003 \003(\0132(.Diadoc" + ".Api.Proto.Events.DocumentToPatch\0229\n\010Con" + "tents\030\004 \003(\0132\'.Diadoc.Api.Proto.Events.Co", - "ntentToPatch\"\331\001\n\024DraftDocumentToPatch\0220\n" + + "ntentToPatch\"\360\001\n\024DraftDocumentToPatch\0220\n" + "\nDocumentId\030\001 \002(\0132\034.Diadoc.Api.Proto.Doc" + "umentId\022\017\n\007ToBoxId\030\002 \001(\t\0222\n\006Signer\030\003 \001(\013" + "2\".Diadoc.Api.Proto.Invoicing.Signer\022J\n\016" + "ExtendedSigner\030\004 \003(\01322.Diadoc.Api.Proto." + - "Invoicing.Signers.ExtendedSigner\"\224\002\n\016Con" + - "tentToPatch\022\023\n\013TypeNamedId\030\001 \002(\t\022\020\n\010Func" + - "tion\030\002 \002(\t\022\017\n\007Version\030\003 \002(\t\0229\n\007Content\030\004" + - " \002(\0132(.Diadoc.Api.Proto.Events.UnsignedC" + - "ontent\022\017\n\007ToBoxId\030\005 \001(\t\0222\n\006Signer\030\006 \001(\0132", - "\".Diadoc.Api.Proto.Invoicing.Signer\022J\n\016E" + - "xtendedSigner\030\007 \003(\01322.Diadoc.Api.Proto.I" + - "nvoicing.Signers.ExtendedSigner\"\303\001\n\017Docu" + - "mentToPatch\0220\n\nDocumentId\030\001 \002(\0132\034.Diadoc" + - ".Api.Proto.DocumentId\0222\n\006Signer\030\002 \001(\0132\"." + - "Diadoc.Api.Proto.Invoicing.Signer\022J\n\016Ext" + - "endedSigner\030\003 \003(\01322.Diadoc.Api.Proto.Inv" + - "oicing.Signers.ExtendedSigner\"u\n\026Documen" + - "tPatchedContent\0220\n\nDocumentId\030\001 \002(\0132\034.Di" + - "adoc.Api.Proto.DocumentId\022\030\n\020PatchedCont", - "entId\030\002 \002(\t\022\017\n\007Content\030\003 \001(\014\"r\n\036PrepareD" + - "ocumentsToSignResponse\022P\n\027DocumentPatche" + - "dContents\030\001 \003(\0132/.Diadoc.Api.Proto.Event" + - "s.DocumentPatchedContent\"y\n\rMessageToSen" + - "d\022\r\n\005BoxId\030\001 \002(\t\022\021\n\tMessageId\030\002 \002(\t\022F\n\022D" + - "ocumentSignatures\030\003 \003(\0132*.Diadoc.Api.Pro" + - "to.Events.DocumentSignature\"\204\001\n\033Revocati" + - "onRequestAttachment\022\026\n\016ParentEntityId\030\001 " + - "\002(\t\022=\n\rSignedContent\030\002 \002(\0132&.Diadoc.Api." + - "Proto.Events.SignedContent\022\016\n\006Labels\030\003 \003", - "(\t\"\210\001\n\037XmlSignatureRejectionAttachment\022\026" + - "\n\016ParentEntityId\030\001 \002(\t\022=\n\rSignedContent\030" + - "\002 \002(\0132&.Diadoc.Api.Proto.Events.SignedCo" + - "ntent\022\016\n\006Labels\030\003 \003(\t\"\221\001\n\031RoamingNotific" + - "ationToPost\022\r\n\005BoxId\030\001 \002(\t\022\017\n\007EventId\030\002 " + - "\002(\t\022\017\n\007Success\030\003 \002(\010\022\023\n\013Description\030\004 \001(" + - "\t\022\021\n\tMessageId\030\005 \001(\t\022\033\n\023NotifiableEntity" + - "Ids\030\006 \003(\t\"\213\001\n\017CustomDataPatch\022\026\n\016ParentE" + - "ntityId\030\001 \002(\t\022D\n\tOperation\030\002 \002(\01621.Diado" + - "c.Api.Proto.Events.CustomDataPatchOperat", - "ion\022\013\n\003Key\030\003 \002(\t\022\r\n\005Value\030\004 \001(\t\"\254\001\n\031Edit" + - "DocumentPacketCommand\022\022\n\nDocumentId\030\001 \002(" + - "\t\022:\n\024AddDocumentsToPacket\030\002 \003(\0132\034.Diadoc" + - ".Api.Proto.DocumentId\022?\n\031RemoveDocuments" + - "FromPacket\030\003 \003(\0132\034.Diadoc.Api.Proto.Docu" + - "mentId\"d\n\026ResolutionRouteRemoval\022\026\n\016Pare" + - "ntEntityId\030\001 \002(\t\022\017\n\007RouteId\030\002 \002(\t\022\021\n\007Com" + - "ment\030\003 \001(\t:\000\022\016\n\006Labels\030\004 \003(\t\"\225\003\n\016Templat" + - "eToPost\022\021\n\tFromBoxId\030\001 \002(\t\022\017\n\007ToBoxId\030\002 " + - "\002(\t\022\030\n\020MessageFromBoxId\030\003 \002(\t\022\026\n\016Message", - "ToBoxId\030\004 \002(\t\022\035\n\025MessageToDepartmentId\030\005" + - " \001(\t\022P\n\023DocumentAttachments\030\006 \003(\01323.Diad" + - "oc.Api.Proto.Events.TemplateDocumentAtta" + - "chment\0222\n\010LockMode\030\007 \001(\0162\032.Diadoc.Api.Pr" + - "oto.LockMode:\004None\022\030\n\020FromDepartmentId\030\010" + - " \001(\t\022\026\n\016ToDepartmentId\030\t \001(\t\022\031\n\021MessageP" + - "roxyBoxId\030\n \001(\t\022 \n\030MessageProxyDepartmen" + - "tId\030\013 \001(\t\022\031\n\nIsReusable\030\014 \001(\010:\005false\"\373\003\n" + - "\032TemplateDocumentAttachment\022A\n\017UnsignedC" + - "ontent\030\001 \002(\0132(.Diadoc.Api.Proto.Events.U", - "nsignedContent\022\017\n\007Comment\030\002 \001(\t\022\023\n\013TypeN" + - "amedId\030\003 \002(\t\022\020\n\010Function\030\004 \001(\t\022\017\n\007Versio" + - "n\030\005 \001(\t\0227\n\010Metadata\030\006 \003(\0132%.Diadoc.Api.P" + - "roto.Events.MetadataItem\022\022\n\nWorkflowId\030\007" + - " \001(\005\022\030\n\020CustomDocumentId\030\010 \001(\t\022\030\n\020Editin" + - "gSettingId\030\t \001(\t\022%\n\026NeedRecipientSignatu" + - "re\030\n \001(\010:\005false\022S\n\030PredefinedRecipientTi" + - "tle\030\013 \001(\01321.Diadoc.Api.Proto.Events.Pred" + - "efinedRecipientTitle\022\036\n\017RefusalDisabled\030" + - "\014 \001(\010:\005false\0224\n\nCustomData\030\r \003(\0132 .Diado", - "c.Api.Proto.CustomDataItem\"[\n\023TemplatePa" + - "tchToPost\022D\n\010Refusals\030\001 \003(\01322.Diadoc.Api" + - ".Proto.Events.TemplateRefusalAttachment\"" + - "P\n\031TemplateRefusalAttachment\022\022\n\nDocument" + - "Id\030\001 \002(\t\022\017\n\007Comment\030\002 \001(\t\022\016\n\006Labels\030\003 \003(" + - "\t\"]\n\030PredefinedRecipientTitle\022A\n\017Unsigne" + - "dContent\030\001 \002(\0132(.Diadoc.Api.Proto.Events" + - ".UnsignedContent\"7\n\017UnsignedContent\022\017\n\007C" + - "ontent\030\001 \001(\014\022\023\n\013NameOnShelf\030\002 \001(\t\"\223\001\n\034Te" + - "mplateTransformationToPost\022\r\n\005BoxId\030\001 \002(", - "\t\022\022\n\nTemplateId\030\002 \002(\t\022P\n\027DocumentTransfo" + - "rmations\030\003 \003(\0132/.Diadoc.Api.Proto.Events" + - ".DocumentTransformation\"F\n\026DocumentTrans" + - "formation\022\022\n\nDocumentId\030\001 \002(\t\022\030\n\020CustomD" + - "ocumentId\030\002 \001(\t*/\n\030CustomDataPatchOperat" + - "ion\022\007\n\003Set\020\000\022\n\n\006Remove\020\001B\035B\033DiadocMessag" + - "e_PostApiProtos" + "Invoicing.Signers.ExtendedSigner\022\025\n\rSign" + + "erContent\030\005 \001(\014\"\253\002\n\016ContentToPatch\022\023\n\013Ty" + + "peNamedId\030\001 \002(\t\022\020\n\010Function\030\002 \002(\t\022\017\n\007Ver" + + "sion\030\003 \002(\t\0229\n\007Content\030\004 \002(\0132(.Diadoc.Api" + + ".Proto.Events.UnsignedContent\022\017\n\007ToBoxId", + "\030\005 \001(\t\0222\n\006Signer\030\006 \001(\0132\".Diadoc.Api.Prot" + + "o.Invoicing.Signer\022J\n\016ExtendedSigner\030\007 \003" + + "(\01322.Diadoc.Api.Proto.Invoicing.Signers." + + "ExtendedSigner\022\025\n\rSignerContent\030\010 \001(\014\"\332\001" + + "\n\017DocumentToPatch\0220\n\nDocumentId\030\001 \002(\0132\034." + + "Diadoc.Api.Proto.DocumentId\0222\n\006Signer\030\002 " + + "\001(\0132\".Diadoc.Api.Proto.Invoicing.Signer\022" + + "J\n\016ExtendedSigner\030\003 \003(\01322.Diadoc.Api.Pro" + + "to.Invoicing.Signers.ExtendedSigner\022\025\n\rS" + + "ignerContent\030\004 \001(\014\"u\n\026DocumentPatchedCon", + "tent\0220\n\nDocumentId\030\001 \002(\0132\034.Diadoc.Api.Pr" + + "oto.DocumentId\022\030\n\020PatchedContentId\030\002 \002(\t" + + "\022\017\n\007Content\030\003 \001(\014\"r\n\036PrepareDocumentsToS" + + "ignResponse\022P\n\027DocumentPatchedContents\030\001" + + " \003(\0132/.Diadoc.Api.Proto.Events.DocumentP" + + "atchedContent\"y\n\rMessageToSend\022\r\n\005BoxId\030" + + "\001 \002(\t\022\021\n\tMessageId\030\002 \002(\t\022F\n\022DocumentSign" + + "atures\030\003 \003(\0132*.Diadoc.Api.Proto.Events.D" + + "ocumentSignature\"\204\001\n\033RevocationRequestAt" + + "tachment\022\026\n\016ParentEntityId\030\001 \002(\t\022=\n\rSign", + "edContent\030\002 \002(\0132&.Diadoc.Api.Proto.Event" + + "s.SignedContent\022\016\n\006Labels\030\003 \003(\t\"\210\001\n\037XmlS" + + "ignatureRejectionAttachment\022\026\n\016ParentEnt" + + "ityId\030\001 \002(\t\022=\n\rSignedContent\030\002 \002(\0132&.Dia" + + "doc.Api.Proto.Events.SignedContent\022\016\n\006La" + + "bels\030\003 \003(\t\"\221\001\n\031RoamingNotificationToPost" + + "\022\r\n\005BoxId\030\001 \002(\t\022\017\n\007EventId\030\002 \002(\t\022\017\n\007Succ" + + "ess\030\003 \002(\010\022\023\n\013Description\030\004 \001(\t\022\021\n\tMessag" + + "eId\030\005 \001(\t\022\033\n\023NotifiableEntityIds\030\006 \003(\t\"\213" + + "\001\n\017CustomDataPatch\022\026\n\016ParentEntityId\030\001 \002", + "(\t\022D\n\tOperation\030\002 \002(\01621.Diadoc.Api.Proto" + + ".Events.CustomDataPatchOperation\022\013\n\003Key\030" + + "\003 \002(\t\022\r\n\005Value\030\004 \001(\t\"\254\001\n\031EditDocumentPac" + + "ketCommand\022\022\n\nDocumentId\030\001 \002(\t\022:\n\024AddDoc" + + "umentsToPacket\030\002 \003(\0132\034.Diadoc.Api.Proto." + + "DocumentId\022?\n\031RemoveDocumentsFromPacket\030" + + "\003 \003(\0132\034.Diadoc.Api.Proto.DocumentId\"d\n\026R" + + "esolutionRouteRemoval\022\026\n\016ParentEntityId\030" + + "\001 \002(\t\022\017\n\007RouteId\030\002 \002(\t\022\021\n\007Comment\030\003 \001(\t:" + + "\000\022\016\n\006Labels\030\004 \003(\t\"\225\003\n\016TemplateToPost\022\021\n\t", + "FromBoxId\030\001 \002(\t\022\017\n\007ToBoxId\030\002 \002(\t\022\030\n\020Mess" + + "ageFromBoxId\030\003 \002(\t\022\026\n\016MessageToBoxId\030\004 \002" + + "(\t\022\035\n\025MessageToDepartmentId\030\005 \001(\t\022P\n\023Doc" + + "umentAttachments\030\006 \003(\01323.Diadoc.Api.Prot" + + "o.Events.TemplateDocumentAttachment\0222\n\010L" + + "ockMode\030\007 \001(\0162\032.Diadoc.Api.Proto.LockMod" + + "e:\004None\022\030\n\020FromDepartmentId\030\010 \001(\t\022\026\n\016ToD" + + "epartmentId\030\t \001(\t\022\031\n\021MessageProxyBoxId\030\n" + + " \001(\t\022 \n\030MessageProxyDepartmentId\030\013 \001(\t\022\031" + + "\n\nIsReusable\030\014 \001(\010:\005false\"\373\003\n\032TemplateDo", + "cumentAttachment\022A\n\017UnsignedContent\030\001 \002(" + + "\0132(.Diadoc.Api.Proto.Events.UnsignedCont" + + "ent\022\017\n\007Comment\030\002 \001(\t\022\023\n\013TypeNamedId\030\003 \002(" + + "\t\022\020\n\010Function\030\004 \001(\t\022\017\n\007Version\030\005 \001(\t\0227\n\010" + + "Metadata\030\006 \003(\0132%.Diadoc.Api.Proto.Events" + + ".MetadataItem\022\022\n\nWorkflowId\030\007 \001(\005\022\030\n\020Cus" + + "tomDocumentId\030\010 \001(\t\022\030\n\020EditingSettingId\030" + + "\t \001(\t\022%\n\026NeedRecipientSignature\030\n \001(\010:\005f" + + "alse\022S\n\030PredefinedRecipientTitle\030\013 \001(\01321" + + ".Diadoc.Api.Proto.Events.PredefinedRecip", + "ientTitle\022\036\n\017RefusalDisabled\030\014 \001(\010:\005fals" + + "e\0224\n\nCustomData\030\r \003(\0132 .Diadoc.Api.Proto" + + ".CustomDataItem\"[\n\023TemplatePatchToPost\022D" + + "\n\010Refusals\030\001 \003(\01322.Diadoc.Api.Proto.Even" + + "ts.TemplateRefusalAttachment\"P\n\031Template" + + "RefusalAttachment\022\022\n\nDocumentId\030\001 \002(\t\022\017\n" + + "\007Comment\030\002 \001(\t\022\016\n\006Labels\030\003 \003(\t\"]\n\030Predef" + + "inedRecipientTitle\022A\n\017UnsignedContent\030\001 " + + "\002(\0132(.Diadoc.Api.Proto.Events.UnsignedCo" + + "ntent\"7\n\017UnsignedContent\022\017\n\007Content\030\001 \001(", + "\014\022\023\n\013NameOnShelf\030\002 \001(\t\"\223\001\n\034TemplateTrans" + + "formationToPost\022\r\n\005BoxId\030\001 \002(\t\022\022\n\nTempla" + + "teId\030\002 \002(\t\022P\n\027DocumentTransformations\030\003 " + + "\003(\0132/.Diadoc.Api.Proto.Events.DocumentTr" + + "ansformation\"F\n\026DocumentTransformation\022\022" + + "\n\nDocumentId\030\001 \002(\t\022\030\n\020CustomDocumentId\030\002" + + " \001(\t*/\n\030CustomDataPatchOperation\022\007\n\003Set\020" + + "\000\022\n\n\006Remove\020\001B\035B\033DiadocMessage_PostApiPr" + + "otos" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -100861,19 +101106,19 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_Diadoc_Api_Proto_Events_DraftDocumentToPatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_Events_DraftDocumentToPatch_descriptor, - new java.lang.String[] { "DocumentId", "ToBoxId", "Signer", "ExtendedSigner", }); + new java.lang.String[] { "DocumentId", "ToBoxId", "Signer", "ExtendedSigner", "SignerContent", }); internal_static_Diadoc_Api_Proto_Events_ContentToPatch_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_Diadoc_Api_Proto_Events_ContentToPatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_Events_ContentToPatch_descriptor, - new java.lang.String[] { "TypeNamedId", "Function", "Version", "Content", "ToBoxId", "Signer", "ExtendedSigner", }); + new java.lang.String[] { "TypeNamedId", "Function", "Version", "Content", "ToBoxId", "Signer", "ExtendedSigner", "SignerContent", }); internal_static_Diadoc_Api_Proto_Events_DocumentToPatch_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_Diadoc_Api_Proto_Events_DocumentToPatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Diadoc_Api_Proto_Events_DocumentToPatch_descriptor, - new java.lang.String[] { "DocumentId", "Signer", "ExtendedSigner", }); + new java.lang.String[] { "DocumentId", "Signer", "ExtendedSigner", "SignerContent", }); internal_static_Diadoc_Api_Proto_Events_DocumentPatchedContent_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_Diadoc_Api_Proto_Events_DocumentPatchedContent_fieldAccessorTable = new