示例#1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    parents_.AddEntriesFrom(input, _repeated_parents_codec);
                    break;
                }

                case 18: {
                    if (treeId_ == null)
                    {
                        treeId_ = new global::SourceCode.Chasm.IO.Proto.Wire.Sha1Wire();
                    }
                    input.ReadMessage(treeId_);
                    break;
                }

                case 26: {
                    if (author_ == null)
                    {
                        author_ = new global::SourceCode.Chasm.IO.Proto.Wire.AuditWire();
                    }
                    input.ReadMessage(author_);
                    break;
                }

                case 34: {
                    if (committer_ == null)
                    {
                        committer_ = new global::SourceCode.Chasm.IO.Proto.Wire.AuditWire();
                    }
                    input.ReadMessage(committer_);
                    break;
                }

                case 42: {
                    if (message_ == null)
                    {
                        message_ = new global::Google.Protobuf.WellKnownTypes.StringValue();
                    }
                    input.ReadMessage(message_);
                    break;
                }
                }
            }
        }
示例#2
0
 public void MergeFrom(CommitWire other)
 {
     if (other == null)
     {
         return;
     }
     parents_.Add(other.parents_);
     if (other.treeId_ != null)
     {
         if (treeId_ == null)
         {
             treeId_ = new global::SourceCode.Chasm.IO.Proto.Wire.Sha1Wire();
         }
         TreeId.MergeFrom(other.TreeId);
     }
     if (other.author_ != null)
     {
         if (author_ == null)
         {
             author_ = new global::SourceCode.Chasm.IO.Proto.Wire.AuditWire();
         }
         Author.MergeFrom(other.Author);
     }
     if (other.committer_ != null)
     {
         if (committer_ == null)
         {
             committer_ = new global::SourceCode.Chasm.IO.Proto.Wire.AuditWire();
         }
         Committer.MergeFrom(other.Committer);
     }
     if (other.message_ != null)
     {
         if (message_ == null)
         {
             message_ = new global::Google.Protobuf.WellKnownTypes.StringValue();
         }
         Message.MergeFrom(other.Message);
     }
 }
示例#3
0
 public virtual global::System.Threading.Tasks.Task <global::Soit.Authentication.Protos.FindModuleReply> Find(global::Google.Protobuf.WellKnownTypes.StringValue request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
示例#4
0
 public virtual grpc::AsyncUnaryCall <global::Soit.Authentication.Protos.FindModuleReply> FindAsync(global::Google.Protobuf.WellKnownTypes.StringValue request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(FindAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
示例#5
0
 public virtual grpc::AsyncUnaryCall <global::Soit.Authentication.Protos.FindModuleReply> FindAsync(global::Google.Protobuf.WellKnownTypes.StringValue request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Find, null, options, request));
 }
示例#6
0
 public virtual global::AElf.Contracts.GreeterContract.GreetToOutput GreetTo(global::Google.Protobuf.WellKnownTypes.StringValue input)
 {
     throw new global::System.NotImplementedException();
 }
示例#7
0
 public virtual global::Soit.Authentication.Protos.FindUserReply Find(global::Google.Protobuf.WellKnownTypes.StringValue request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_Find, null, options, request));
 }
 public virtual grpc::AsyncUnaryCall <global::M.Resolver.IpsResponse> FirstMethodAsync(global::Google.Protobuf.WellKnownTypes.StringValue request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_FirstMethod, null, options, request));
 }
 public virtual grpc::AsyncUnaryCall <global::M.Resolver.IpsResponse> FirstMethodAsync(global::Google.Protobuf.WellKnownTypes.StringValue request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(FirstMethodAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual global::System.Threading.Tasks.Task <global::M.Resolver.IpsResponse> FirstMethod(global::Google.Protobuf.WellKnownTypes.StringValue request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }